R data visualization recipes a cook book with 65+ data visualization recipes for smarter decision-making

Translate your data into info-graphics using popular packages in R About This Book Use R's popular packages - such as ggplot2, ggvis, ggforce, and more - to create custom, interactive visualization solutions. Create, design, and build interactive dashboards using Shiny A highly practical guide...

Descripción completa

Detalles Bibliográficos
Otros Autores: Lanzetta, Vitor Bianchi, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England ; Mumbai, [India] : Packt 2017.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630428006719
Tabla de Contenidos:
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewer
  • www.PacktPub.com
  • Customer Feedback
  • Table of Contents
  • Preface
  • Chapter 1: Installation and Introduction
  • Introduction
  • Installing and loading graphics packages
  • How to do it...
  • How it works...
  • There's more
  • See also...
  • Using ggplot2, plotly, and ggvis
  • Getting ready
  • How to do it...
  • How it works...
  • There's more
  • See also
  • Making plots using primitives
  • How to do it...
  • How it works...
  • There's more...
  • Chapter 2: Plotting Two Continuous Variables
  • Introduction
  • Plotting a basic scatterplot
  • How to do it...
  • How it works...
  • There's more...
  • Hacking ggvis add_axis() function to operate as a title function
  • Getting ready
  • How to do it...
  • How it works...
  • Plotting a scatterplot with shapes and colors
  • How to do it...
  • How it works...
  • Plotting a shape reference palette for ggplot2
  • How to do it...
  • How it works...
  • There's more...
  • Dealing with over-plotting, reducing points
  • How to do it...
  • How it works...
  • There's more...
  • Dealing with over-plotting, jittering points
  • How to do it...
  • How it works...
  • Dealing with over-plotting, alpha blending
  • How to do it...
  • How it works...
  • There's more...
  • Rug the margins using geom_rug()
  • How to do it...
  • How it works...
  • Adding marginal histograms using ggExtra
  • Getting ready
  • How to do it...
  • How it works...
  • Drawing marginal histogram using gridExtra
  • Getting ready
  • How to do it...
  • How it works...
  • Crafting marginal plots with plotly
  • How to do it...
  • How it works...
  • Adding regression lines
  • How to do it...
  • How it works...
  • Adding quantile regression lines
  • Getting ready
  • How to do it...
  • How it works...
  • Drawing publish-quality scatterplots
  • Getting ready
  • How to do it.
  • How it works...
  • See also
  • Chapter 3: Plotting a Discrete Predictor and a Continuous Response
  • Introduction
  • Installing car package and getting familiar to data
  • How to do it...
  • How does it works...
  • There is more
  • See also
  • Drawing simple box plots
  • Getting ready
  • How to do it...
  • How it works...
  • Adding notches and jitters to box plots
  • Getting ready
  • How to do it...
  • How it works...
  • Drawing bivariate dot plots using ggplot2
  • Getting ready
  • How to do it...
  • How does it work...
  • There is more
  • Using more suitable colors for geom_dotplot
  • Getting ready
  • How to do it...
  • How it works...
  • Combining box with dot plots
  • Getting ready
  • How it works...
  • How it works...
  • See also
  • Using point geometry to work as dots using ggvis, plotly and ggplot2
  • Getting ready...
  • How it works...
  • How it works...
  • There is more
  • Crafting simple violin plots
  • How to do it...
  • How it works...
  • Using stat_summary to customize violin plots
  • Getting ready
  • How it works...
  • How it works...
  • There is more...
  • Manually sorting and coloring violins
  • Getting ready
  • How to do it...
  • How it works...
  • Using joy package to replace violins
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Creating publication quality violin plots
  • Getting Ready
  • How to do it...
  • How it works...
  • See also
  • Chapter 4: Plotting One Variable
  • Introduction
  • Creating a simple histogram using geom_histogram()
  • Getting ready
  • How to do it...
  • How does it work...
  • Creating an histogram with custom colors and bins width
  • Getting ready
  • How to do it...
  • How it works...
  • Crafting and coloring area plots using geom_area() and more
  • Getting ready
  • How to do it...
  • How it works...
  • Drawing density plots using geom_density()
  • How to do it...
  • How it works.
  • See also
  • Drawing univariate colored dot plots with geom_dotplot()
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Crafting univariate bar charts
  • Getting ready
  • How to do it...
  • How it works...
  • Using rtweet and ggplot2 to plot twitter words frequencies
  • Getting ready...
  • How to do it...
  • How it works...
  • See also
  • Drawing publish quality density plot
  • How to do it...
  • How it works...
  • Chapter 5: Making Other Bivariate Plots
  • Introduction
  • Creating simple stacked bar graphs
  • Getting ready
  • How to do it...
  • How it works...
  • Crafting proportional stacked bar
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Plotting side-by-side bar graph
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Plotting a bar graphic with aggregated data using geom_col()
  • Getting ready
  • How to do it...
  • How it works...
  • Adding variability estimates to plots with geom_errrorbar()
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Making line plots
  • Getting ready
  • How to do it...
  • How it works...
  • Making static and interactive hexagon plots
  • Getting ready
  • How to do it...
  • How it works...
  • There is more...
  • Adjusting your hexagon plot
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Developing a publish quality proportional stacked bar graph
  • Getting ready
  • How to do it...
  • How it works...
  • Chapter 6: Creating Maps
  • Introduction
  • Making simple maps - 1854 London Streets
  • Getting ready
  • How to do it...
  • How it works...
  • Creating an interactive cholera map using plotly
  • Getting ready
  • How to do it...
  • How it works...
  • Crafting choropleth maps using ggplot2
  • Getting ready
  • How to do it...
  • How it works...
  • Zooming in on the map
  • Getting ready
  • How to do it.
  • How it works...
  • See also
  • Creating different maps based on different map projection types
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Handling shapefiles to map Afghanistan health facilities
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Crafting an interactive globe using plotly
  • Getting ready
  • How to do it...
  • How it works...
  • Creating high quality maps
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Chapter 7: Faceting
  • Introduction
  • Creating a faceted bar graph
  • How to do it...
  • How it works...
  • Crafting faceted histograms
  • Getting ready
  • How to do it...
  • How it works...
  • Creating a facet box plot
  • How to do it...
  • How it works...
  • Crafting a faceted line plot
  • Getting ready
  • How to do it...
  • How it works...
  • There is more
  • Making faceted scatterplots
  • Getting ready
  • How to do it...
  • How it works...
  • Creating faceted maps
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Drawing facets using plotly
  • How to do it...
  • How it works...
  • See also
  • Plotting a high quality faceted bar graph
  • How to do it...
  • How it works...
  • Chapter 8: Designing Three-Dimensional Plots
  • Introduction
  • Drawing a simple contour plot using ggplot2
  • How to do it...
  • How it works...
  • Picking a custom number of contour lines
  • How to do it...
  • How it works...
  • Using the directlabels package to label the contours
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Crafting a simple tile plot with ggplot2
  • How to do it...
  • How it works...
  • Creating simple raster plots with ggplot2
  • How to do it...
  • How it works...
  • There is more
  • Designing a three-dimensional plot with plotly
  • Getting ready
  • How to do it...
  • How it works...
  • Crafting a publication quality contour plot.
  • How to do it...
  • How it works...
  • Chapter 9: Using Theming Packages
  • Introduction
  • Drawing a bubble plot
  • Getting ready
  • How to do it...
  • How it works...
  • Popular themes with ggthemes
  • Getting Ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Applying sci themes with ggsci
  • Getting Ready
  • How to do it...
  • How it works...
  • See also
  • Importing new fonts with the extrafont package
  • Getting Ready
  • How to do it...
  • How it works...
  • There's more...
  • Using ggtech to mimic tech companies themes
  • Getting Ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Wrapping a custom theme function
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Applying awesome themes and checking misspells with hrbrthemes
  • Getting Ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Chapter 10: Designing More Specialized Plots
  • Introduction
  • Drawing wonderful facets zoom with the ggforce package
  • Getting Ready
  • How to do it...
  • How it works...
  • See also
  • Drawing sina plots with ggforce
  • Getting Ready
  • How to do it...
  • How it works...
  • Using ggrepel to plot non-overlaying texts
  • Getting Ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Visualizing relational data structures with ggraph
  • Getting Ready
  • How to do it...
  • How it works...
  • See also
  • Draw alternative lollipop and density plots with ggalt
  • Getting Ready
  • How to do it...
  • How it works...
  • See also
  • Chapter 11: Making Interactive Plots
  • Introduction
  • Using ggiraph to create interactive plots
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Using gganimate to craft animated ggplots
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Crafting animated plots with tweenr.
  • Getting ready.