Index
A
- abline() function
- used, for adding marker lines / Adding marker lines at specific x and y values using abline, How it works..., There's more...
- used, for adding vertical markers / Adding vertical markers to indicate specific time events, How it works..., There's more...
- aggregate() function
- about / How it works...
- am / Introduction
- annotate() function / How it works...
- annotations
- fonts, setting / Setting fonts for annotations and titles, How it works..., See also
- arrows() function / How it works..., How it works...
- as.Date() function / How it works..., How it works...
- as.matrix() function / How it works...
- axes, histograms
- axis() command / How it works..., How it works...
- axis annotations
- axis labels
B
- barchart() command / How it works…
- bar charts
- creating / Creating bar charts, How to do it..., Creating bar charts, How it works…, There's more…, See also
- working / How it works..., There's more...
- creating, with multiple factor variable / Creating bar charts with more than one factor variable, How it works...
- creating, with horizontal bar orientation / Adjusting the orientation of bars – horizontal and vertical, How it works..., There's more...
- creating, with vertical bar orientation / Adjusting the orientation of bars – horizontal and vertical, How it works..., There's more...
- widths, adjusting / Adjusting bar widths, spacing, colors, and borders, Getting ready, How it works...
- spacing, adjusting / Adjusting bar widths, spacing, colors, and borders, Getting ready, How it works...
- colors, adjusting / Adjusting bar widths, spacing, colors, and borders, Getting ready, How it works...
- borders, adjusting / Adjusting bar widths, spacing, colors, and borders, Getting ready, How it works...
- values, displaying / Displaying values on top of or next to the bars, How to do it..., How it works..., See also
- labels, placing inside bars / Placing labels inside bars, How to do it..., How it works...
- creating, with vertical error bars / Creating bar charts with vertical error bars, How to do it..., How it works..., There's more...
- stacked bar charts, creating / Creating stacked bar charts, How it works…, There's more…
- creating, to visualize cross-tabulation / Creating bar charts to visualize cross-tabulation, How it works…, There's more…
- creating, ggplot2 library used / Creating bar charts, Getting ready, How it works…, See also
- creating, with error bars / Creating a bar chart with error bars, Getting ready, How it works…, There's more…
- bar colors, histograms
- barplot() function / How to do it..., How it works...
- barplot function / Base graphics using the default package
- bars
- colors, setting / Getting ready, How to do it..., There's more...
- base graphics
- using, default package / Base graphics using the default package
- borders, histograms
- box plot
- creating / Creating a boxplot, How it works…, There's more…
- boxplot() command / How to do it...
- boxplot() function / There's more...
- boxplot() method
- arguments / There's more
- boxplot function / Base graphics using the default package
- box plots
- creating / Creating box plots
- working / How it works..., There's more...
- creating, with narrow boxes / Creating box plots with narrow boxes for a small number of variables, How to do it..., How it works..., There's more
- grouping, over variable / Grouping over a variable, How it works..., There's more
- creating, with notches / Creating box plots with notches, How it works..., There's more
- styling / Changing the box styling, How it works..., There's more
- whiskers, adjusting / Adjusting the extent of plot whiskers outside the box, How to do it..., How it works...
- number of observations, displaying / Showing the number of observations, Getting ready, How it works..., There's more
- variable, splitting at arbitrary intervals / Splitting a variable at arbitrary values into subsets, Getting ready, How it works..., There's more
- creating, ggplot2 library used / Creating a box plot, How it works…
- box styles
- selecting / Choosing box styles, How it works..., There's more...
- box widths
C
- calendar.plot() function / There's more
- calendar heat maps
- time series data, visualizing / Visualizing time series as calendar heat maps, How to do it..., How it works..., There's more
- carb / Introduction
- categorical data
- multivariate visualization / Multivariate categorical data visualization, How it works…, There's more…
- closely packed data points
- distinguishing, jitter() function used / Using jitter to distinguish closely packed data points, How to do it..., How it works...
- CMYK (Cyan Magenta Yellow Key) color model / There's more
- col argument / How it works...
- colorBrewer
- URL / There's more...
- color combinations
- colors
- of points, setting / Setting colors of points, lines, and bars, How to do it..., How it works...
- of lines, setting / How to do it..., How it works...
- of bars, setting / How to do it..., How it works...
- of axis annotations, setting / How to do it..., There's more...
- of axis labels, setting / How it works..., There's more...
- of plot titles, setting / How it works..., There's more...
- of legends, setting / There's more...
- conditional histogram
- creating / Creating a conditional histogram, How to do it…, There's more…
- conditional scatter plot
- contour function / Base graphics using the default package
- contour plots
- creating / Creating contour plots, How it works..., There's more, See also
- correlation heat maps
- creating / Creating correlation heat maps, How it works...
- correlation matrix
- creating, pairs plot used / Correlation matrix using pairs plots, How it works...
- countries
- global data plotting, on world map / Plotting global data by countries on a world map, How it works..., See also
- CRAN
- URL / Introduction
- references / Introduction
- cross-tabulation
- visualizing, bar charts produced for / Creating bar charts to visualize cross-tabulation, How it works…, There's more…
- customized legends
- adding, for multiple-line graphs / Adding customized legends for multiple-line graphs, How it works..., There's more..., See also
- cyl / Introduction
D
- 3D plot
- about / Three-dimensional scatter plots
- data
- plotting, on Google maps / Plotting data on Google maps, How to do it..., How it works..., See also
- databaseBasketball
- URL / Getting ready
- data points
- grouping, within scatter plots / Grouping data points within a scatter plot, How it works..., There's more..., See also
- labeling / Labeling data points, How it works..., There's more...
- density, displaying on axes / Displaying the data density on axes, How it works..., There's more...
- data visualization
- lattice package used / Introduction
- date variable
- plotting, on X axis / Plotting the date or time variable on the x axis, How to do it..., How it works...
- day / Introduction
- ddply()function / Getting ready
- default package
- used, for base graphics / Base graphics using the default package
- dendrograms
- URL / How it works...
- density() function / There's more...
- density, data points
- displaying, on axes / Displaying the data density on axes, How it works..., There's more...
- density line
- overlaying, over histograms / Overlaying a density line over a histogram, How it works...
- density plot
- creating, ggplot2 library used / Visualizing the density of a numeric variable, How it works…
- density plots
- dev.off() command / How it works...
- dimensions
- setting / Getting ready, See also
- disp / Introduction
- distributions
- visualizing, kernel-density plot used / Visualizing distributions through a kernel-density plot, How to do it…, How it works…, There's more…
- dotchart() function / How to do it..., How it works...
- dotchart function / Base graphics using the default package
- dot charts
- modifying, with grouped variables / Modifying dot charts by grouping variables, How to do it..., How it works...
- dots per inch (dpi) / There's more...
- drat / Introduction
E
- empirical Cumulative Distribution Function
- errbar function
- about / There's more...
- error bars
- adding / Adding error bars, How to do it..., How it works...
- bar charts, creating with / Creating a bar chart with error bars, Getting ready, How it works…, There's more…
- ESRI shapefiles
- working with / Working with ESRI shapefiles, How it works..., There's more
- expression() function / There's more...
F
- filled.contour() function / How it works...
- filled contour plots
- filtering
- plot / Getting ready, There's more...
- findInterval() function / How it works...
- font families
- selecting, under Windows / Choosing font families and styles under Windows, Mac OS X, and Linux, How it works..., There's more
- selecting, under Mac OS X / Choosing font families and styles under Windows, Mac OS X, and Linux, How it works..., There's more
- selecting, under Linux / Choosing font families and styles under Windows, Mac OS X, and Linux, How it works..., There's more
- fonts
- setting, for annotations / Setting fonts for annotations and titles, There's more..., See also
- setting, for titles / Setting fonts for annotations and titles, There's more..., See also
- selecting, for PostScripts / Choosing fonts for PostScripts and PDFs, How it works..., There's more
- selecting, for PDFs / Choosing fonts for PostScripts and PDFs, How it works..., There's more
- functions
- plotting, for variable in dataset / Plotting functions of a variable in a dataset, How it works..., There's more...
G
- GADM
- URL / There's more...
- about / There's more...
- GADM data
- URL / There's more
- gear / Introduction
- Geographical Information Systems (GIS) data formats / Introduction
- geom_bar() function / There's more…
- get.hist.quote() function
- about / How it works...
- ggplot2 library
- about / Introduction
- used, for creating bar charts / Creating bar charts, Getting ready, How it works…, See also
- used, for creating density plot / Visualizing the density of a numeric variable, How it works…
- used, for creating box plots / Creating a box plot, How it works…
- line charts, creating with / Creating a line chart, How it works…, There's more...
- graph, annotating with / Graph annotation with ggplot, How to do it..., How it works...
- ggplot2 package
- using / Getting ready
- global data
- plotting by countries, on world map / Plotting global data by countries on a world map, How to do it..., How it works..., See also
- Google maps
- data, plotting / Plotting data on Google maps, How to do it..., How it works..., There's more
- Grammar of Graphics
- graphs, inspired by / Graphs inspired by Grammar of Graphics
- graph
- annotating, with ggplot2 library / Graph annotation with ggplot, How to do it..., How it works...
- graph margins
- setting / Setting graph margins and dimensions, See also
- graphs
- inspired, by Grammar of Graphics / Graphs inspired by Grammar of Graphics
- creating, with maps / Getting ready, How it works..., There's more...
- saving / Saving and exporting graphs, How it works..., See also
- exporting / How to do it..., How it works..., See also
- creating, with regional maps / Creating graphs with regional maps, How it works..., There's more
- exporting, in high-resolution image formats / Exporting graphs in high-resolution image formats – PNG, JPEG, BMP, and TIFF, How to do it..., How it works..., There's more
- exporting, in vector formats / Exporting graphs in vector formats – SVG, PDF, and PS, How it works..., There's more
- text descriptions, adding / Adding text descriptions to graphs, How to do it..., How it works..., There's more
- graph templates
- using / Using graph templates, How it works...
- grid() function / How it works...
- group argument / How it works…
- grouped data points
- highlighting, by size / Highlighting grouped data points by size and symbol type, How to do it..., How it works...
- highlighting, by symbol type / Highlighting grouped data points by size and symbol type, How to do it..., How it works...
H
- heatmap() function / How to do it..., How it works...
- heatmap function / Base graphics using the default package
- heat maps
- creating / Creating heat maps
- working / How it works..., There's more...
- creating, of single Z variable with scale / Getting ready, How it works..., See also
- multivariate data, summarizing / Summarizing multivariate data in a single heat map, How to do it..., How it works...
- high-level data visualization
- functions / Base graphics using the default package
- high-resolution image formats
- graphs, exporting in / Exporting graphs in high-resolution image formats – PNG, JPEG, BMP, and TIFF, How to do it..., How it works...
- hist() function / How it works...
- about / How it works...
- hist function / Base graphics using the default package
- histogram
- about / Creating a conditional histogram
- histograms
- creating / Creating histograms and density plots, How to do it...
- working / How it works..., There's more..., See also
- distributions, visualizing as count frequencies / Visualizing distributions as count frequencies or probability densities, How to do it..., How it works..., There's more
- distributions, visualizing as probability densities / Visualizing distributions as count frequencies or probability densities, How to do it..., How it works..., There's more
- bin size, setting / Setting the bin size and the number of breaks, How it works..., There's more
- breaks, setting / Setting the bin size and the number of breaks, How it works..., There's more
- bar colors, adjusting / Adjusting histogram styles – bar colors, borders, and axes, How it works..., There's more
- borders, adjusting / Adjusting histogram styles – bar colors, borders, and axes, How it works..., There's more
- axes, adjusting / Adjusting histogram styles – bar colors, borders, and axes, How it works..., There's more
- density line, overlaying / Overlaying a density line over a histogram, How it works...
- drawing, in margins of line plots / Histograms in the margins of line and scatter plots , How it works...
- drawing, in margins of scatter plots / Histograms in the margins of line and scatter plots , How it works...
- Hmisc package
- about / There's more...
- horizontal box plots
- creating / Creating horizontal box plots, How it works...
- horizontal grid lines
- hp / Introduction
I
- image() function / There's more..., How it works...
- image function / Base graphics using the default package
J
- jitter() function
- used, for distinguishing closely packed data points / Using jitter to distinguish closely packed data points, How to do it..., How it works...
K
- kernel-density plot
- distributions, visualizing through / Visualizing distributions through a kernel-density plot, How to do it…, There's more…
- Keyhole Markup Language (KML) / Creating and reading KML data
- KML data
- creating / Creating and reading KML data, How it works...
- reading / Creating and reading KML data, How it works...
L
- lattice
- used, for Trellis graphs / Trellis graphs using lattice
- lattice package
- using / Getting ready
- used, for data visualization / Introduction
- layered plot
- creating, with scatter plot / Creating a layered plot with a scatter plot and fitted line, How it works…
- creating, with fitted line / Creating a layered plot with a scatter plot and fitted line, How it works…
- layout() function / How it works..., How it works...
- legend() function / How to do it..., How it works..., Adding a legend to a pie chart, How it works...
- legends
- adding / Adding and formatting legends, How it works..., There's more...
- formatting / Adding and formatting legends, How it works..., There's more...
- colors, setting / How it works..., There's more...
- library() command / Getting ready
- linear model lines
- adding / Adding linear model lines, How it works...
- line charts
- creating, with ggplot2 library / Creating a line chart, How it works…, There's more...
- line graphs
- creating / Creating line graphs, How to do it...
- working / How it works...
- lines
- colors, setting / Getting ready, How to do it..., How it works..., There's more...
- lines() function / There's more..., How it works..., How it works...
- lines command / How it works...
- line styles
- selecting / Choosing line styles and width, How to do it..., How it works...
- Linux
- URL / Introduction
- font families, selecting under / Getting ready, How it works..., There's more
- log axes
- formatting / Formatting log axes, How it works..., There's more...
- lowess() function
- used, for adding nonparametric model curves / Adding nonparametric model curves with lowess, How it works...
M
- Mac OS X
- URL / Introduction
- font families, selecting under / Choosing font families and styles under Windows, Mac OS X, and Linux, Getting ready, How it works..., There's more
- maps
- used, for creating graphs / Creating graphs with maps, How to do it..., How it works..., There's more...
- margin labels
- using, for multiple-line graphs / Using margin labels instead of legends for multiple-line graphs, How it works...
- marker lines
- adding, abline() function used / Adding marker lines at specific x and y values using abline, How it works..., There's more...
- mathematical notations
- mfcol argument / How it works...
- mfrow argument / How it works...
- mixed data
- visualizing / Visualizing mixed data
- month / Introduction
- mpg / Introduction
- multiple-line graphs
- customized legends, adding for / Adding customized legends for multiple-line graphs, How it works..., There's more..., See also
- margin labels, using / Using margin labels instead of legends for multiple-line graphs, How it works...
- multiple bar charts
- creating / Creating multiple bar charts, Getting ready, How it works…, There's more…, See also
- multiple histograms
- creating, along diagonal of pairs plot / Multiple histograms along the diagonal of a pairs plot, How it works...
- multiple plot matrix layouts
- creating / Creating multiple plot matrix layouts
- working / How it works..., There's more...
- multivariate continuous data visualization
- multivariate data
- summarizing, in heat maps / Summarizing multivariate data in a single heat map, How to do it..., How it works...
- multivariate visualization
- of categorical data / Multivariate categorical data visualization, How it works…, There's more…
N
- nBin argument / There's more…
- nls() function / How it works...
- nonlinear model curves
- adding / Adding nonlinear model curves, How it works...
- nonparametric model curves
- adding, with lowess() function / Adding nonparametric model curves with lowess, How it works...
- normal Q-Q plot
- creating / Creating a normal Q-Q plot, How it works…
O
- order() function / How it works...
- outliers
- including / Including or excluding outliers, How it works...
- excluding / Including or excluding outliers, How it works...
- ozone / Introduction
P
- pair plots
- creating / Creating pairs plots
- working / How it works..., There's more...
- pairs() command / How it works...
- pairs() function / How it works...
- pairs plot
- used, for creating correlation matrix / Correlation matrix using pairs plots, How it works...
- palettes
- selecting / Choosing color combinations and palettes, There's more...
- par() command / How to do it..., How it works...
- PDFs
- fonts, selecting for / Choosing fonts for PostScripts and PDFs, How it works..., There's more
- persp function / Base graphics using the default package
- pie() function / How it works...
- pie charts
- creating, with clockwise-ordered slices / Making better, readable pie charts with clockwise-ordered slices, How it works...
- labeling, with percentage values / Labeling a pie chart with percentage values for each slice, How it works...
- legend, adding / Adding a legend to a pie chart, How it works...
- pie function / Base graphics using the default package
- plot
- zooming / Zooming and filtering, There's more...
- filtering / Getting ready, There's more...
- plot() command / How it works..., How it works...
- plot() function / There's more...
- plot background colors
- plotCI function
- about / There's more...
- plot function / Base graphics using the default package
- plotrix package
- about / There's more...
- plotting point symbol
- styles, selecting / Choosing plotting point symbol styles and sizes, How it works..., There's more..., See also
- sizes, selecting / Choosing plotting point symbol styles and sizes, How it works..., There's more..., See also
- plot titles
- colors, setting / How it works..., There's more...
- png() command / How to do it...
- points
- colors, setting / Setting colors of points, lines, and bars, How to do it..., There's more...
- points() function / There's more...
- POSIXlt class / How it works...
- PostScripts
- fonts, selecting for / Choosing fonts for PostScripts and PDFs, How it works..., There's more
Q
- Q-Q plots
- about / Creating Quantile-Quantile plots
- creating / Getting ready, There's more...
- qnorm() function / How it works...
- qplot() function / How it works...
- qqline() function / How it works...
- qqline function / Base graphics using the default package
- qqnorm function / Base graphics using the default package
- qqplot function / Base graphics using the default package
- qsec / Introduction
- quantmod package / Getting ready
- URL / There's more...
R
- R
- overview / Introduction
- on Linux, URL / Introduction
- on Mac OS X, URL / Introduction
- on Widows, URL / Introduction
- inbuilt datasets / A note on R's built-in datasets
- recycling in / There's more...
- rbinom() / Introduction
- rbinom() function / How it works...
- RColorBrewer
- about / There's more...
- recycling
- in R / There's more...
- regional maps
- graphs, creating with / Creating graphs with regional maps, How it works..., There's more
- regression plane
- three-dimensional scatter plots with / Three-dimensional scatter plots with a regression plane, How to do it…, How it works…
- RGB (Red Green Blue) model / There's more
- rggobi package
- about / There's more...
- URL / There's more...
- RGL
- about / How it works...
- rgl.surface() function
- about / How it works...
- rnorm() / Introduction
- rnorm(1000) function / How it works...
- rug() function / How to do it...
- about / How it works...
- runif() / Introduction
S
- scale() function / How it works...
- scale argument / There's more
- scatter plot / Creating a conditional scatter plot
- layered plot, creating with / Creating a layered plot with a scatter plot and fitted line, How it works…
- about / Three-dimensional scatter plots
- scatterplot3d() function / How it works..., There's more...
- scatterplot3d function / How it works…, How it works…
- scatter plots
- creating / Creating basic scatter plots, How to do it...
- working / How it works...
- about / Introduction
- data points, grouping / Grouping data points within a scatter plot, How it works..., There's more..., See also
- mpg, plotting against disp / How it works...
- creating, with smoothed density representation / Creating scatter plots with a smoothed density representation, How it works..., There's more...
- scientific notations
- select argument / There's more…
- shapefiles / There's more
- Site4 / How it works...
- smoothed density scatter plots
- smoothScatter() function / Getting ready, How it works..., There's more...
- Solar.R / Introduction
- sortCol argument / There's more…
- sparklines
- creating / Creating sparklines, How it works...
- about / Creating sparklines
- feature / How it works...
- split() function / How it works...
- sprintf() function / How it works...
- stacked bar charts
- stock charts
- creating / Creating stock charts, How it works..., There's more...
- strptime() function / How it works...
T
- temp / Introduction
- terrain.colors() function / How it works...
- text() function / How it works..., How it works..., How it works...
- text descriptions
- adding, to graphs / Adding text descriptions to graphs, How to do it..., How it works..., There's more
- text elements
- themeplot() function / How it works...
- three-dimensional bar charts
- three-dimensional density plots
- three-dimensional scatter plots
- creating / Creating three-dimensional scatter plots, How it works..., There's more...
- about / Three-dimensional scatter plots, How it works…, There's more…
- with regression plane / Three-dimensional scatter plots with a regression plane, How to do it…, How it works…
- three-dimensional surface plots
- tick marks
- time axis labels
- time series charts
- time series data
- formatting / Formatting time series data for plotting, How it works...
- plotting, by averaging over different time periods / Plotting data with varying time-averaging periods, How it works...
- visualizing, as calendar heat maps / Visualizing time series as calendar heat maps, How to do it..., How it works..., There's more
- time variable
- plotting, on X axis / Plotting the date or time variable on the x axis, How to do it..., How it works...
- titles
- fonts, setting / Setting fonts for annotations and titles, How it works..., See also
- Trellis graphs
- lattice used / Trellis graphs using lattice
- tseries package
- about / Getting ready
V
- variable
- functions, plotting / Plotting functions of a variable in a dataset, How it works..., There's more...
- vector formats
- graphs, exporting in / Exporting graphs in vector formats – SVG, PDF, and PS, How it works..., There's more
- vertical error bars
- bar charts, creating with / Creating bar charts with vertical error bars, How to do it..., How it works..., There's more...
- vertical grid lines
- vertical markers
- adding, abline() function used / Adding vertical markers to indicate specific time events, How it works..., There's more...
- vs / Introduction
W
- whiskers, box plots
- width
- selecting / Choosing line styles and width, How to do it..., How it works...
- wind / Introduction
- Windows
- URL / Introduction
- font families, selecting under / Getting ready, How it works..., There's more
- world map
- global data plotting, by countries / Getting ready, How it works..., See also
- wt / Introduction
X
- x ayes limits
- adjusting / Adjusting x and y axes' limits, How it works..., There's more...
- xyplot() command / How it works...
Y
- y ayes limits
- adjusting / Adjusting x and y axes' limits, How it works..., There's more..., See also
Z
- zoo() function / There's more...
- zooming
- plot / Zooming and filtering, There's more...