An implementation of the Grammar of Graphics


[Up] [Top]

Documentation for package ‘ggplot2’ version 0.8.9

Help Pages

A B C D E F G L M O P Q R S T U X Y misc

-- A --

aes Generate aesthetic mappings
as.character.uneval Generate aesthetic mappings

-- B --

borders Map borders.

-- C --

comma Comma formatter
Coord See website for documentation
CoordCartesian coord\_cartesian
CoordFixed coord\_fixed
CoordFlip coord\_flip
CoordMap coord\_map
CoordPolar coord\_polar
CoordTrans coord\_trans
coord_cartesian coord\_cartesian
coord_equal coord\_fixed
coord_fixed coord\_fixed
coord_flip coord\_flip
coord_map coord\_map
coord_polar coord\_polar
coord_trans coord\_trans
create_accessors See website for documentation
cut_interval Discretise continuous variable, equal interval length.
cut_number Discretise continuous variable, equal number of points.

-- D --

diamonds Prices of 50,000 round cut diamonds
dist_central_angle Compute central angle between two points.
dollar Currency formatter

-- E --

economics US economic time series
expand_limits Expand the plot limits with data.
expand_range Expand range

-- F --

Facet See website for documentation
FacetGrid facet\_grid
FacetWrap facet\_wrap
facet_grid facet\_grid
facet_wrap facet\_wrap
fortify Fortify a model with data
fortify.data.frame Fortify a model with data
fortify.default Fortify a model with data
fortify.Line Fortify spatial polygons and lines
fortify.Lines Fortify spatial polygons and lines
fortify.lm Fortify a linear model with its data
fortify.map Fortify a map
fortify.NULL Fortify a model with data
fortify.Polygon Fortify spatial polygons and lines
fortify.Polygons Fortify spatial polygons and lines
fortify.SpatialLinesDataFrame Fortify spatial polygons and lines
fortify.SpatialPolygons Fortify spatial polygons and lines
fortify.SpatialPolygonsDataFrame Fortify spatial polygons and lines

-- G --

Geom See website for documentation
GeomAbline geom\_abline
GeomArea geom\_area
GeomBar geom\_bar
GeomBin2d geom\_bin2d
GeomBlank geom\_blank
GeomBoxplot geom\_boxplot
GeomContour geom\_contour
GeomCrossbar geom\_crossbar
GeomDensity geom\_density
GeomDensity2d geom\_density2d
GeomErrorbar geom\_errorbar
GeomErrorbarh geom\_errorbarh
GeomFreqpoly geom\_freqpoly
GeomHex geom\_hex
GeomHistogram geom\_histogram
GeomHline geom\_hline
GeomJitter geom\_jitter
GeomLine geom\_line
GeomLinerange geom\_linerange
GeomPath geom\_path
GeomPoint geom\_point
GeomPointrange geom\_pointrange
GeomPolygon geom\_polygon
GeomQuantile geom\_quantile
GeomRect geom\_rect
GeomRibbon geom\_ribbon
GeomRug geom\_rug
GeomSegment geom\_segment
GeomSmooth geom\_smooth
GeomStep geom\_step
GeomText geom\_text
GeomTile geom\_tile
GeomVline geom\_vline
geom_abline geom\_abline
geom_area geom\_area
geom_bar geom\_bar
geom_bin2d geom\_bin2d
geom_blank geom\_blank
geom_boxplot geom\_boxplot
geom_contour geom\_contour
geom_crossbar geom\_crossbar
geom_density geom\_density
geom_density2d geom\_density2d
geom_errorbar geom\_errorbar
geom_errorbarh geom\_errorbarh
geom_freqpoly geom\_freqpoly
geom_hex geom\_hex
geom_histogram geom\_histogram
geom_hline geom\_hline
geom_jitter geom\_jitter
geom_line geom\_line
geom_linerange geom\_linerange
geom_path geom\_path
geom_point geom\_point
geom_pointrange geom\_pointrange
geom_polygon geom\_polygon
geom_quantile geom\_quantile
geom_rect geom\_rect
geom_ribbon geom\_ribbon
geom_rug geom\_rug
geom_segment geom\_segment
geom_smooth geom\_smooth
geom_step geom\_step
geom_text geom\_text
geom_tile geom\_tile
geom_vline geom\_vline
ggfluctuation Fluctuation plot
ggmissing Missing values plot
ggopt Get, set and update themes.
ggorder Order plot
ggpcp Parallel coordinates plot.
ggplot Create a new plot
ggplot.data.frame Create a new plot
ggplot.default Create a new plot
ggsave ggsave
ggstructure Structure plot

-- L --

label_both Label facets with value and variable
label_bquote Label facet with 'bquoted' expressions
label_parsed Label facets with parsed label.
label_value Label facets with their value
labs Change axis labels and legend titles
last_plot Retrieve last plot modified/created.
Layer See website for documentation
layer See website for documentation

-- M --

map_data Map data
mean_se Mean + se's.
midwest Demographic information of midwest counties
movies Movie information and user ratings from IMDB.com
mpg Fuel economy data from 1999 and 2008 for 38 popular models of car
msleep An updated and expanded version of the mammals sleep dataset

-- O --

opts Plot options

-- P --

package-ggplot Create a new plot
percent Percent formatter
plist See website for documentation
plotmatrix Code to create a scatterplot matrix (experimental)
plot_clone See website for documentation
Position See website for documentation
PositionDodge position\_dodge
PositionFill position\_fill
PositionIdentity position\_identity
PositionJitter position\_jitter
PositionStack position\_stack
position_dodge position\_dodge
position_fill position\_fill
position_identity position\_identity
position_jitter position\_jitter
position_stack position\_stack
PowerTrans See website for documentation
pprint See website for documentation
presidential Terms of 10 presidents from Eisenhower to Bush W.
print.proto See website for documentation
print.uneval Generate aesthetic mappings
ProbabilityTrans See website for documentation

-- Q --

qplot Quick plot.
quickplot Quick plot.

-- R --

rescale Rescale numeric vector

-- S --

Scale See website for documentation
ScaleAlphaContinuous scale\_alpha\_continuous
ScaleArea See website for documentation
ScaleAsn See website for documentation
ScaleAtanh See website for documentation
ScaleBrewer scale\_brewer
ScaleColour See website for documentation
ScaleColourContinuous See website for documentation
ScaleColourDiscrete See website for documentation
ScaleContinuous scale\_continuous
ScaleDate scale\_date
ScaleDatetime scale\_datetime
ScaleDiscrete See website for documentation
ScaleDiscretePosition scale\_discrete
ScaleExp See website for documentation
ScaleGradient scale\_gradient
ScaleGradient2 scale\_gradient2
ScaleGradientn scale\_gradientn
ScaleGrey scale\_grey
ScaleHue scale\_hue
ScaleIdentity scale\_identity
ScaleInverse See website for documentation
ScaleLinetypeDiscrete scale\_linetype\_discrete
ScaleLog See website for documentation
ScaleLog10 See website for documentation
ScaleLog1p See website for documentation
ScaleLog2 See website for documentation
ScaleLogit See website for documentation
ScaleManual scale\_manual
ScalePow See website for documentation
ScalePow10 See website for documentation
ScaleProb See website for documentation
ScaleProbit See website for documentation
ScaleRecip See website for documentation
ScaleReverse See website for documentation
Scales See website for documentation
ScaleShapeDiscrete scale\_shape\_discrete
ScaleSizeContinuous scale\_size\_continuous
ScaleSizeDiscrete See website for documentation
ScaleSqrt See website for documentation
scale_alpha scale\_alpha\_continuous
scale_alpha_continuous scale\_alpha\_continuous
scale_alpha_identity scale\_identity
scale_area scale\_size\_continuous
scale_brewer scale\_brewer
scale_color_brewer scale\_brewer
scale_color_continuous scale\_gradient
scale_color_discrete scale\_hue
scale_color_gradient scale\_gradient
scale_color_gradient2 scale\_gradient2
scale_color_gradientn scale\_gradientn
scale_color_grey scale\_grey
scale_color_hue scale\_hue
scale_color_identity scale\_identity
scale_color_manual scale\_manual
scale_colour See website for documentation
scale_colour_brewer scale\_brewer
scale_colour_continuous scale\_gradient
scale_colour_discrete scale\_hue
scale_colour_gradient scale\_gradient
scale_colour_gradient2 scale\_gradient2
scale_colour_gradientn scale\_gradientn
scale_colour_grey scale\_grey
scale_colour_hue scale\_hue
scale_colour_identity scale\_identity
scale_colour_manual scale\_manual
scale_continuous scale\_continuous
scale_date scale\_date
scale_datetime scale\_datetime
scale_discrete scale\_discrete
scale_fill_brewer scale\_brewer
scale_fill_continuous scale\_gradient
scale_fill_discrete scale\_hue
scale_fill_gradient scale\_gradient
scale_fill_gradient2 scale\_gradient2
scale_fill_gradientn scale\_gradientn
scale_fill_grey scale\_grey
scale_fill_hue scale\_hue
scale_fill_identity scale\_identity
scale_fill_manual scale\_manual
scale_gradient scale\_gradient
scale_gradient2 scale\_gradient2
scale_gradientn scale\_gradientn
scale_grey scale\_grey
scale_hue scale\_hue
scale_identity scale\_identity
scale_linetype scale\_linetype\_discrete
scale_linetype_discrete scale\_linetype\_discrete
scale_linetype_identity scale\_identity
scale_linetype_manual scale\_manual
scale_manual scale\_manual
scale_shape scale\_shape\_discrete
scale_shape_discrete scale\_shape\_discrete
scale_shape_identity scale\_identity
scale_shape_manual scale\_manual
scale_size scale\_size\_continuous
scale_size_continuous scale\_size\_continuous
scale_size_discrete See website for documentation
scale_size_identity scale\_identity
scale_size_manual scale\_manual
scale_x_asn See website for documentation
scale_x_atanh See website for documentation
scale_x_continuous scale\_continuous
scale_x_date scale\_date
scale_x_datetime scale\_datetime
scale_x_discrete scale\_discrete
scale_x_exp See website for documentation
scale_x_inverse See website for documentation
scale_x_log See website for documentation
scale_x_log10 See website for documentation
scale_x_log1p See website for documentation
scale_x_log2 See website for documentation
scale_x_logit See website for documentation
scale_x_pow See website for documentation
scale_x_pow10 See website for documentation
scale_x_prob See website for documentation
scale_x_probit See website for documentation
scale_x_recip See website for documentation
scale_x_reverse See website for documentation
scale_x_sqrt See website for documentation
scale_y_asn See website for documentation
scale_y_atanh See website for documentation
scale_y_continuous scale\_continuous
scale_y_date scale\_date
scale_y_datetime scale\_datetime
scale_y_discrete scale\_discrete
scale_y_exp See website for documentation
scale_y_inverse See website for documentation
scale_y_log See website for documentation
scale_y_log10 See website for documentation
scale_y_log1p See website for documentation
scale_y_log2 See website for documentation
scale_y_logit See website for documentation
scale_y_pow See website for documentation
scale_y_pow10 See website for documentation
scale_y_prob See website for documentation
scale_y_probit See website for documentation
scale_y_recip See website for documentation
scale_y_reverse See website for documentation
scale_y_sqrt See website for documentation
scale_z_asn See website for documentation
scale_z_atanh See website for documentation
scale_z_discrete scale\_discrete
scale_z_exp See website for documentation
scale_z_inverse See website for documentation
scale_z_log See website for documentation
scale_z_log10 See website for documentation
scale_z_log2 See website for documentation
scale_z_logit See website for documentation
scale_z_pow See website for documentation
scale_z_pow10 See website for documentation
scale_z_prob See website for documentation
scale_z_probit See website for documentation
scale_z_reverse See website for documentation
scale_z_sqrt See website for documentation
scientific Scientific formatter
seals Vector field of seal movements
Stat See website for documentation
StatAbline stat\_abline
StatBin stat\_bin
StatBin2d stat\_bin2d
StatBinhex stat\_binhex
StatBoxplot stat\_boxplot
StatContour stat\_contour
StatDensity stat\_density
StatDensity2d stat\_density2d
StatFunction stat\_function
StatHline stat\_hline
StatIdentity stat\_identity
StatQq stat\_qq
StatQuantile stat\_quantile
StatSmooth stat\_smooth
StatSpoke stat\_spoke
StatSum stat\_sum
StatSummary stat\_summary
StatUnique stat\_unique
StatVline stat\_vline
stat_abline stat\_abline
stat_bin stat\_bin
stat_bin2d stat\_bin2d
stat_binhex stat\_binhex
stat_boxplot stat\_boxplot
stat_contour stat\_contour
stat_density stat\_density
stat_density2d stat\_density2d
stat_function stat\_function
stat_hline stat\_hline
stat_identity stat\_identity
stat_qq stat\_qq
stat_quantile stat\_quantile
stat_smooth stat\_smooth
stat_spoke stat\_spoke
stat_sum stat\_sum
stat_summary stat\_summary
stat_unique stat\_unique
stat_vline stat\_vline
str.uneval Generate aesthetic mappings

-- T --

theme settings to override Get, set and update themes.
theme_blank Theme element: blank
theme_bw Black and white theme
theme_get Get, set and update themes.
theme_gray Grey theme
theme_grey Grey theme
theme_line Theme element: line
theme_rect Theme element: rectangle
theme_segment Theme element: segments
theme_set Get, set and update themes.
theme_text Theme element: text
theme_update Get, set and update themes.
TopLevel See website for documentation
Trans See website for documentation
TransAsn See website for documentation
TransAtanh See website for documentation
TransDate See website for documentation
TransDatetime See website for documentation
TransExp See website for documentation
TransIdentity See website for documentation
TransInverse See website for documentation
TransLog See website for documentation
TransLog10 See website for documentation
TransLog1p See website for documentation
TransLog2 See website for documentation
TransLogit See website for documentation
TransPow10 See website for documentation
TransProbit See website for documentation
TransReverse See website for documentation
TransSqrt See website for documentation

-- U --

update_geom_defaults Update geom defaults
update_stat_defaults Update geom defaults

-- X --

xlab Change axis labels and legend titles
xlim Set x limits

-- Y --

ylab Change axis labels and legend titles
ylim Set y limits

-- misc --

[.uneval Generate aesthetic mappings