From 55049fbb8fdb8ee482fe2acfe025b94f3f0fa811 Mon Sep 17 00:00:00 2001 From: Claus Wilke Date: Fri, 17 Aug 2018 13:14:41 -0500 Subject: [PATCH 1/2] Bring .Rd files in sync with latest code base. --- man/annotation_logticks.Rd | 6 ++--- man/borders.Rd | 4 ++-- man/continuous_scale.Rd | 6 ++--- man/coord_map.Rd | 3 +-- man/coord_trans.Rd | 4 ++-- man/cut_interval.Rd | 4 ++-- man/discrete_scale.Rd | 5 ++--- man/element.Rd | 14 +++++------- man/facet_grid.Rd | 7 +++--- man/fortify.sp.Rd | 3 +-- man/geom_abline.Rd | 8 +++---- man/geom_bar.Rd | 7 +++--- man/geom_bin2d.Rd | 4 ++-- man/geom_boxplot.Rd | 14 ++++++------ man/geom_contour.Rd | 3 +-- man/geom_density.Rd | 6 ++--- man/geom_density_2d.Rd | 3 +-- man/geom_hex.Rd | 4 ++-- man/geom_histogram.Rd | 13 +++++------ man/geom_jitter.Rd | 4 ++-- man/geom_qq.Rd | 6 ++--- man/geom_quantile.Rd | 7 +++--- man/geom_segment.Rd | 4 ++-- man/geom_smooth.Rd | 6 ++--- man/geom_text.Rd | 14 ++++++------ man/geom_violin.Rd | 9 ++++---- man/ggplot.Rd | 3 +-- man/ggplot2-package.Rd | 6 ++--- man/ggtheme.Rd | 4 ++-- man/guide_legend.Rd | 14 ++++++------ man/qplot.Rd | 10 ++++----- man/scale_brewer.Rd | 14 ++++++------ man/scale_colour_continuous.Rd | 8 +++---- man/scale_date.Rd | 40 +++++++++++++++------------------- man/scale_gradient.Rd | 13 +++++------ man/scale_grey.Rd | 4 ++-- man/scale_hue.Rd | 10 ++++----- man/scale_size.Rd | 6 ++--- man/scale_viridis.Rd | 12 +++++----- man/stat_ellipse.Rd | 5 ++--- man/stat_function.Rd | 5 ++--- man/stat_summary.Rd | 4 ++-- man/stat_summary_2d.Rd | 12 +++++----- man/theme.Rd | 17 +++++++-------- 44 files changed, 162 insertions(+), 193 deletions(-) diff --git a/man/annotation_logticks.Rd b/man/annotation_logticks.Rd index 270feae107..1b56fd45bf 100644 --- a/man/annotation_logticks.Rd +++ b/man/annotation_logticks.Rd @@ -5,9 +5,9 @@ \title{Annotation: log tick marks} \usage{ annotation_logticks(base = 10, sides = "bl", scaled = TRUE, - short = unit(0.1, "cm"), mid = unit(0.2, "cm"), long = unit(0.3, - "cm"), colour = "black", size = 0.5, linetype = 1, alpha = 1, - color = NULL, ...) + short = unit(0.1, "cm"), mid = unit(0.2, "cm"), long = unit(0.3, "cm"), + colour = "black", size = 0.5, linetype = 1, alpha = 1, color = NULL, + ...) } \arguments{ \item{base}{the base of the log (default 10)} diff --git a/man/borders.Rd b/man/borders.Rd index 212d100f5a..bb3cc23225 100644 --- a/man/borders.Rd +++ b/man/borders.Rd @@ -4,8 +4,8 @@ \alias{borders} \title{Create a layer of map borders} \usage{ -borders(database = "world", regions = ".", fill = NA, - colour = "grey50", xlim = NULL, ylim = NULL, ...) +borders(database = "world", regions = ".", fill = NA, colour = "grey50", + xlim = NULL, ylim = NULL, ...) } \arguments{ \item{database}{map data, see \code{\link[maps:map]{maps::map()}} for details} diff --git a/man/continuous_scale.Rd b/man/continuous_scale.Rd index 7ee2521d88..46d0e2b3ac 100644 --- a/man/continuous_scale.Rd +++ b/man/continuous_scale.Rd @@ -6,9 +6,9 @@ \usage{ continuous_scale(aesthetics, scale_name, palette, name = waiver(), breaks = waiver(), minor_breaks = waiver(), labels = waiver(), - limits = NULL, rescaler = rescale, oob = censor, - expand = waiver(), na.value = NA_real_, trans = "identity", - guide = "legend", position = "left", super = ScaleContinuous) + limits = NULL, rescaler = rescale, oob = censor, expand = waiver(), + na.value = NA_real_, trans = "identity", guide = "legend", + position = "left", super = ScaleContinuous) } \arguments{ \item{aesthetics}{The names of the aesthetics that this scale works with} diff --git a/man/coord_map.Rd b/man/coord_map.Rd index 00ea7555f2..407d56f970 100644 --- a/man/coord_map.Rd +++ b/man/coord_map.Rd @@ -8,8 +8,7 @@ coord_map(projection = "mercator", ..., parameters = NULL, orientation = NULL, xlim = NULL, ylim = NULL, clip = "on") -coord_quickmap(xlim = NULL, ylim = NULL, expand = TRUE, - clip = "on") +coord_quickmap(xlim = NULL, ylim = NULL, expand = TRUE, clip = "on") } \arguments{ \item{projection}{projection to use, see diff --git a/man/coord_trans.Rd b/man/coord_trans.Rd index 56b7282b34..04dcb1731b 100644 --- a/man/coord_trans.Rd +++ b/man/coord_trans.Rd @@ -4,8 +4,8 @@ \alias{coord_trans} \title{Transformed Cartesian coordinate system} \usage{ -coord_trans(x = "identity", y = "identity", limx = NULL, - limy = NULL, clip = "on", xtrans, ytrans) +coord_trans(x = "identity", y = "identity", limx = NULL, limy = NULL, + clip = "on", xtrans, ytrans) } \arguments{ \item{x, y}{transformers for x and y axes} diff --git a/man/cut_interval.Rd b/man/cut_interval.Rd index 2e9d18058b..ff6b18ae6c 100644 --- a/man/cut_interval.Rd +++ b/man/cut_interval.Rd @@ -10,8 +10,8 @@ cut_interval(x, n = NULL, length = NULL, ...) cut_number(x, n = NULL, ...) -cut_width(x, width, center = NULL, boundary = NULL, - closed = c("right", "left")) +cut_width(x, width, center = NULL, boundary = NULL, closed = c("right", + "left")) } \arguments{ \item{x}{numeric vector} diff --git a/man/discrete_scale.Rd b/man/discrete_scale.Rd index 1db8c31372..d3d90b342b 100644 --- a/man/discrete_scale.Rd +++ b/man/discrete_scale.Rd @@ -6,9 +6,8 @@ \usage{ discrete_scale(aesthetics, scale_name, palette, name = waiver(), breaks = waiver(), labels = waiver(), limits = NULL, - expand = waiver(), na.translate = TRUE, na.value = NA, - drop = TRUE, guide = "legend", position = "left", - super = ScaleDiscrete) + expand = waiver(), na.translate = TRUE, na.value = NA, drop = TRUE, + guide = "legend", position = "left", super = ScaleDiscrete) } \arguments{ \item{aesthetics}{The names of the aesthetics that this scale works with} diff --git a/man/element.Rd b/man/element.Rd index e7be72807c..1d4b3f1a43 100644 --- a/man/element.Rd +++ b/man/element.Rd @@ -13,17 +13,15 @@ margin(t = 0, r = 0, b = 0, l = 0, unit = "pt") element_blank() -element_rect(fill = NULL, colour = NULL, size = NULL, - linetype = NULL, color = NULL, inherit.blank = FALSE) +element_rect(fill = NULL, colour = NULL, size = NULL, linetype = NULL, + color = NULL, inherit.blank = FALSE) element_line(colour = NULL, size = NULL, linetype = NULL, - lineend = NULL, color = NULL, arrow = NULL, - inherit.blank = FALSE) + lineend = NULL, color = NULL, arrow = NULL, inherit.blank = FALSE) -element_text(family = NULL, face = NULL, colour = NULL, - size = NULL, hjust = NULL, vjust = NULL, angle = NULL, - lineheight = NULL, color = NULL, margin = NULL, debug = NULL, - inherit.blank = FALSE) +element_text(family = NULL, face = NULL, colour = NULL, size = NULL, + hjust = NULL, vjust = NULL, angle = NULL, lineheight = NULL, + color = NULL, margin = NULL, debug = NULL, inherit.blank = FALSE) rel(x) } diff --git a/man/facet_grid.Rd b/man/facet_grid.Rd index e099c779db..16d77c847b 100644 --- a/man/facet_grid.Rd +++ b/man/facet_grid.Rd @@ -4,10 +4,9 @@ \alias{facet_grid} \title{Lay out panels in a grid} \usage{ -facet_grid(rows = NULL, cols = NULL, scales = "fixed", - space = "fixed", shrink = TRUE, labeller = "label_value", - as.table = TRUE, switch = NULL, drop = TRUE, margins = FALSE, - facets = NULL) +facet_grid(rows = NULL, cols = NULL, scales = "fixed", space = "fixed", + shrink = TRUE, labeller = "label_value", as.table = TRUE, + switch = NULL, drop = TRUE, margins = FALSE, facets = NULL) } \arguments{ \item{rows, cols}{A set of variables or expressions quoted by diff --git a/man/fortify.sp.Rd b/man/fortify.sp.Rd index 999fb6c1f1..96a638e4cb 100644 --- a/man/fortify.sp.Rd +++ b/man/fortify.sp.Rd @@ -11,8 +11,7 @@ \alias{fortify.Line} \title{Fortify method for classes from the sp package.} \usage{ -\method{fortify}{SpatialPolygonsDataFrame}(model, data, region = NULL, - ...) +\method{fortify}{SpatialPolygonsDataFrame}(model, data, region = NULL, ...) \method{fortify}{SpatialPolygons}(model, data, ...) diff --git a/man/geom_abline.Rd b/man/geom_abline.Rd index fca9760ab4..bab9d021bc 100644 --- a/man/geom_abline.Rd +++ b/man/geom_abline.Rd @@ -9,11 +9,11 @@ geom_abline(mapping = NULL, data = NULL, ..., slope, intercept, na.rm = FALSE, show.legend = NA) -geom_hline(mapping = NULL, data = NULL, ..., yintercept, - na.rm = FALSE, show.legend = NA) +geom_hline(mapping = NULL, data = NULL, ..., yintercept, na.rm = FALSE, + show.legend = NA) -geom_vline(mapping = NULL, data = NULL, ..., xintercept, - na.rm = FALSE, show.legend = NA) +geom_vline(mapping = NULL, data = NULL, ..., xintercept, na.rm = FALSE, + show.legend = NA) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_bar.Rd b/man/geom_bar.Rd index b1fae01f40..cdd895666b 100644 --- a/man/geom_bar.Rd +++ b/man/geom_bar.Rd @@ -7,12 +7,11 @@ \title{Bar charts} \usage{ geom_bar(mapping = NULL, data = NULL, stat = "count", - position = "stack", ..., width = NULL, binwidth = NULL, - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + position = "stack", ..., width = NULL, binwidth = NULL, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) geom_col(mapping = NULL, data = NULL, position = "stack", ..., - width = NULL, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + width = NULL, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) stat_count(mapping = NULL, data = NULL, geom = "bar", position = "stack", ..., width = NULL, na.rm = FALSE, diff --git a/man/geom_bin2d.Rd b/man/geom_bin2d.Rd index d004cfdcd8..ed0ec0bde4 100644 --- a/man/geom_bin2d.Rd +++ b/man/geom_bin2d.Rd @@ -11,8 +11,8 @@ geom_bin2d(mapping = NULL, data = NULL, stat = "bin2d", inherit.aes = TRUE) stat_bin_2d(mapping = NULL, data = NULL, geom = "tile", - position = "identity", ..., bins = 30, binwidth = NULL, - drop = TRUE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., bins = 30, binwidth = NULL, drop = TRUE, + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_boxplot.Rd b/man/geom_boxplot.Rd index d42d4d5789..2786b37210 100644 --- a/man/geom_boxplot.Rd +++ b/man/geom_boxplot.Rd @@ -6,15 +6,15 @@ \title{A box and whiskers plot (in the style of Tukey)} \usage{ geom_boxplot(mapping = NULL, data = NULL, stat = "boxplot", - position = "dodge2", ..., outlier.colour = NULL, - outlier.color = NULL, outlier.fill = NULL, outlier.shape = 19, - outlier.size = 1.5, outlier.stroke = 0.5, outlier.alpha = NULL, - notch = FALSE, notchwidth = 0.5, varwidth = FALSE, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "dodge2", ..., outlier.colour = NULL, outlier.color = NULL, + outlier.fill = NULL, outlier.shape = 19, outlier.size = 1.5, + outlier.stroke = 0.5, outlier.alpha = NULL, notch = FALSE, + notchwidth = 0.5, varwidth = FALSE, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) stat_boxplot(mapping = NULL, data = NULL, geom = "boxplot", - position = "dodge2", ..., coef = 1.5, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "dodge2", ..., coef = 1.5, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_contour.Rd b/man/geom_contour.Rd index 2fa02256ab..9cb3d2e63d 100644 --- a/man/geom_contour.Rd +++ b/man/geom_contour.Rd @@ -7,8 +7,7 @@ \usage{ geom_contour(mapping = NULL, data = NULL, stat = "contour", position = "identity", ..., lineend = "butt", linejoin = "round", - linemitre = 10, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + linemitre = 10, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) stat_contour(mapping = NULL, data = NULL, geom = "contour", position = "identity", ..., na.rm = FALSE, show.legend = NA, diff --git a/man/geom_density.Rd b/man/geom_density.Rd index 72d25b8661..4070786e80 100644 --- a/man/geom_density.Rd +++ b/man/geom_density.Rd @@ -10,9 +10,9 @@ geom_density(mapping = NULL, data = NULL, stat = "density", inherit.aes = TRUE) stat_density(mapping = NULL, data = NULL, geom = "area", - position = "stack", ..., bw = "nrd0", adjust = 1, - kernel = "gaussian", n = 512, trim = FALSE, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "stack", ..., bw = "nrd0", adjust = 1, kernel = "gaussian", + n = 512, trim = FALSE, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_density_2d.Rd b/man/geom_density_2d.Rd index dead4ecd28..db666230f9 100644 --- a/man/geom_density_2d.Rd +++ b/man/geom_density_2d.Rd @@ -9,8 +9,7 @@ \usage{ geom_density_2d(mapping = NULL, data = NULL, stat = "density2d", position = "identity", ..., lineend = "butt", linejoin = "round", - linemitre = 10, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + linemitre = 10, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) stat_density_2d(mapping = NULL, data = NULL, geom = "density_2d", position = "identity", ..., contour = TRUE, n = 100, h = NULL, diff --git a/man/geom_hex.Rd b/man/geom_hex.Rd index 602693864c..757d960db6 100644 --- a/man/geom_hex.Rd +++ b/man/geom_hex.Rd @@ -11,8 +11,8 @@ geom_hex(mapping = NULL, data = NULL, stat = "binhex", inherit.aes = TRUE) stat_bin_hex(mapping = NULL, data = NULL, geom = "hex", - position = "identity", ..., bins = 30, binwidth = NULL, - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., bins = 30, binwidth = NULL, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_histogram.Rd b/man/geom_histogram.Rd index d9de9d4ab2..dcfaf34b8c 100644 --- a/man/geom_histogram.Rd +++ b/man/geom_histogram.Rd @@ -12,14 +12,13 @@ geom_freqpoly(mapping = NULL, data = NULL, stat = "bin", inherit.aes = TRUE) geom_histogram(mapping = NULL, data = NULL, stat = "bin", - position = "stack", ..., binwidth = NULL, bins = NULL, - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) - -stat_bin(mapping = NULL, data = NULL, geom = "bar", - position = "stack", ..., binwidth = NULL, bins = NULL, - center = NULL, boundary = NULL, breaks = NULL, - closed = c("right", "left"), pad = FALSE, na.rm = FALSE, + position = "stack", ..., binwidth = NULL, bins = NULL, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + +stat_bin(mapping = NULL, data = NULL, geom = "bar", position = "stack", + ..., binwidth = NULL, bins = NULL, center = NULL, boundary = NULL, + breaks = NULL, closed = c("right", "left"), pad = FALSE, + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_jitter.Rd b/man/geom_jitter.Rd index 2851418a3a..62582b888c 100644 --- a/man/geom_jitter.Rd +++ b/man/geom_jitter.Rd @@ -5,8 +5,8 @@ \title{Jittered points} \usage{ geom_jitter(mapping = NULL, data = NULL, stat = "identity", - position = "jitter", ..., width = NULL, height = NULL, - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + position = "jitter", ..., width = NULL, height = NULL, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_qq.Rd b/man/geom_qq.Rd index 32505df89d..ef247abd80 100644 --- a/man/geom_qq.Rd +++ b/man/geom_qq.Rd @@ -19,13 +19,11 @@ stat_qq_line(mapping = NULL, data = NULL, geom = "path", geom_qq(mapping = NULL, data = NULL, geom = "point", position = "identity", ..., distribution = stats::qnorm, - dparams = list(), na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + dparams = list(), na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) stat_qq(mapping = NULL, data = NULL, geom = "point", position = "identity", ..., distribution = stats::qnorm, - dparams = list(), na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + dparams = list(), na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_quantile.Rd b/man/geom_quantile.Rd index d8e819135d..9c8ae31330 100644 --- a/man/geom_quantile.Rd +++ b/man/geom_quantile.Rd @@ -7,13 +7,12 @@ \usage{ geom_quantile(mapping = NULL, data = NULL, stat = "quantile", position = "identity", ..., lineend = "butt", linejoin = "round", - linemitre = 10, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + linemitre = 10, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) stat_quantile(mapping = NULL, data = NULL, geom = "quantile", position = "identity", ..., quantiles = c(0.25, 0.5, 0.75), - formula = NULL, method = "rq", method.args = list(), - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + formula = NULL, method = "rq", method.args = list(), na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_segment.Rd b/man/geom_segment.Rd index 7146d36ac9..2903b5f688 100644 --- a/man/geom_segment.Rd +++ b/man/geom_segment.Rd @@ -7,8 +7,8 @@ \usage{ geom_segment(mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., arrow = NULL, arrow.fill = NULL, - lineend = "butt", linejoin = "round", na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + lineend = "butt", linejoin = "round", na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) geom_curve(mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., curvature = 0.5, angle = 90, ncp = 5, diff --git a/man/geom_smooth.Rd b/man/geom_smooth.Rd index 215eb2d8cd..36092280fc 100644 --- a/man/geom_smooth.Rd +++ b/man/geom_smooth.Rd @@ -11,9 +11,9 @@ geom_smooth(mapping = NULL, data = NULL, stat = "smooth", stat_smooth(mapping = NULL, data = NULL, geom = "smooth", position = "identity", ..., method = "auto", formula = y ~ x, - se = TRUE, n = 80, span = 0.75, fullrange = FALSE, - level = 0.95, method.args = list(), na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + se = TRUE, n = 80, span = 0.75, fullrange = FALSE, level = 0.95, + method.args = list(), na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_text.Rd b/man/geom_text.Rd index beb9a6d5d1..019a5fd3c8 100644 --- a/man/geom_text.Rd +++ b/man/geom_text.Rd @@ -6,15 +6,15 @@ \title{Text} \usage{ geom_label(mapping = NULL, data = NULL, stat = "identity", - position = "identity", ..., parse = FALSE, nudge_x = 0, - nudge_y = 0, label.padding = unit(0.25, "lines"), - label.r = unit(0.15, "lines"), label.size = 0.25, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., parse = FALSE, nudge_x = 0, nudge_y = 0, + label.padding = unit(0.25, "lines"), label.r = unit(0.15, "lines"), + label.size = 0.25, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) geom_text(mapping = NULL, data = NULL, stat = "identity", - position = "identity", ..., parse = FALSE, nudge_x = 0, - nudge_y = 0, check_overlap = FALSE, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., parse = FALSE, nudge_x = 0, nudge_y = 0, + check_overlap = FALSE, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_violin.Rd b/man/geom_violin.Rd index 0cecb3b442..0b14a7c80b 100644 --- a/man/geom_violin.Rd +++ b/man/geom_violin.Rd @@ -7,13 +7,12 @@ \usage{ geom_violin(mapping = NULL, data = NULL, stat = "ydensity", position = "dodge", ..., draw_quantiles = NULL, trim = TRUE, - scale = "area", na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + scale = "area", na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) stat_ydensity(mapping = NULL, data = NULL, geom = "violin", - position = "dodge", ..., bw = "nrd0", adjust = 1, - kernel = "gaussian", trim = TRUE, scale = "area", na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "dodge", ..., bw = "nrd0", adjust = 1, kernel = "gaussian", + trim = TRUE, scale = "area", na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/ggplot.Rd b/man/ggplot.Rd index 280267e665..dc85733d93 100644 --- a/man/ggplot.Rd +++ b/man/ggplot.Rd @@ -4,8 +4,7 @@ \alias{ggplot} \title{Create a new ggplot} \usage{ -ggplot(data = NULL, mapping = aes(), ..., - environment = parent.frame()) +ggplot(data = NULL, mapping = aes(), ..., environment = parent.frame()) } \arguments{ \item{data}{Default dataset to use for plot. If not already a data.frame, diff --git a/man/ggplot2-package.Rd b/man/ggplot2-package.Rd index fa4b8c429e..d40bd66c72 100644 --- a/man/ggplot2-package.Rd +++ b/man/ggplot2-package.Rd @@ -9,9 +9,9 @@ \if{html}{\figure{logo.png}{options: align='right'}} A system for 'declaratively' creating graphics, - based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' - how to map variables to aesthetics, what graphical primitives to use, - and it takes care of the details. +based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' +how to map variables to aesthetics, what graphical primitives to use, +and it takes care of the details. } \seealso{ Useful links: diff --git a/man/ggtheme.Rd b/man/ggtheme.Rd index 800da29faa..2a1c1bee64 100644 --- a/man/ggtheme.Rd +++ b/man/ggtheme.Rd @@ -19,8 +19,8 @@ theme_grey(base_size = 11, base_family = "", theme_gray(base_size = 11, base_family = "", base_line_size = base_size/22, base_rect_size = base_size/22) -theme_bw(base_size = 11, base_family = "", - base_line_size = base_size/22, base_rect_size = base_size/22) +theme_bw(base_size = 11, base_family = "", base_line_size = base_size/22, + base_rect_size = base_size/22) theme_linedraw(base_size = 11, base_family = "", base_line_size = base_size/22, base_rect_size = base_size/22) diff --git a/man/guide_legend.Rd b/man/guide_legend.Rd index bd53036d09..c0e70f8a7f 100644 --- a/man/guide_legend.Rd +++ b/man/guide_legend.Rd @@ -4,13 +4,13 @@ \alias{guide_legend} \title{Legend guide} \usage{ -guide_legend(title = waiver(), title.position = NULL, - title.theme = NULL, title.hjust = NULL, title.vjust = NULL, - label = TRUE, label.position = NULL, label.theme = NULL, - label.hjust = NULL, label.vjust = NULL, keywidth = NULL, - keyheight = NULL, direction = NULL, default.unit = "line", - override.aes = list(), nrow = NULL, ncol = NULL, byrow = FALSE, - reverse = FALSE, order = 0, ...) +guide_legend(title = waiver(), title.position = NULL, title.theme = NULL, + title.hjust = NULL, title.vjust = NULL, label = TRUE, + label.position = NULL, label.theme = NULL, label.hjust = NULL, + label.vjust = NULL, keywidth = NULL, keyheight = NULL, + direction = NULL, default.unit = "line", override.aes = list(), + nrow = NULL, ncol = NULL, byrow = FALSE, reverse = FALSE, order = 0, + ...) } \arguments{ \item{title}{A character string or expression indicating a title of guide. diff --git a/man/qplot.Rd b/man/qplot.Rd index ac5e00f8d9..d15551fe85 100644 --- a/man/qplot.Rd +++ b/man/qplot.Rd @@ -7,13 +7,11 @@ \usage{ qplot(x, y, ..., data, facets = NULL, margins = FALSE, geom = "auto", xlim = c(NA, NA), ylim = c(NA, NA), log = "", main = NULL, - xlab = NULL, ylab = NULL, asp = NA, stat = NULL, - position = NULL) + xlab = NULL, ylab = NULL, asp = NA, stat = NULL, position = NULL) -quickplot(x, y, ..., data, facets = NULL, margins = FALSE, - geom = "auto", xlim = c(NA, NA), ylim = c(NA, NA), log = "", - main = NULL, xlab = NULL, ylab = NULL, asp = NA, stat = NULL, - position = NULL) +quickplot(x, y, ..., data, facets = NULL, margins = FALSE, geom = "auto", + xlim = c(NA, NA), ylim = c(NA, NA), log = "", main = NULL, + xlab = NULL, ylab = NULL, asp = NA, stat = NULL, position = NULL) } \arguments{ \item{x, y, ...}{Aesthetics passed into each layer} diff --git a/man/scale_brewer.Rd b/man/scale_brewer.Rd index b12923bdc0..3771000079 100644 --- a/man/scale_brewer.Rd +++ b/man/scale_brewer.Rd @@ -15,9 +15,9 @@ scale_colour_brewer(..., type = "seq", palette = 1, direction = 1, scale_fill_brewer(..., type = "seq", palette = 1, direction = 1, aesthetics = "fill") -scale_colour_distiller(..., type = "seq", palette = 1, - direction = -1, values = NULL, space = "Lab", - na.value = "grey50", guide = "colourbar", aesthetics = "colour") +scale_colour_distiller(..., type = "seq", palette = 1, direction = -1, + values = NULL, space = "Lab", na.value = "grey50", + guide = "colourbar", aesthetics = "colour") scale_fill_distiller(..., type = "seq", palette = 1, direction = -1, values = NULL, space = "Lab", na.value = "grey50", @@ -33,9 +33,9 @@ limits, breaks, labels and so forth.} \item{palette}{If a string, will use that named palette. If a number, will index into the list of palettes of appropriate \code{type}} -\item{direction}{Sets the order of colors in the scale. If 1, the default, -colors are as output by \code{\link[RColorBrewer]{brewer.pal}}. If -1, the -order of colors is reversed.} +\item{direction}{Sets the order of colours in the scale. If 1, the default, +colours are as output by \code{\link[RColorBrewer:brewer.pal]{RColorBrewer::brewer.pal()}}. If -1, the +order of colours is reversed.} \item{aesthetics}{Character string or vector of character strings listing the name(s) of the aesthetic(s) that this scale works with. This can be useful, for @@ -44,7 +44,7 @@ same time, via \code{aesthetics = c("colour", "fill")}.} \item{values}{if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the -\code{colours} vector. See \code{\link{rescale}} for a convience function +\code{colours} vector. See \code{\link[=rescale]{rescale()}} for a convenience function to map an arbitrary range to between 0 and 1.} \item{space}{colour space in which to calculate gradient. Must be "Lab" - diff --git a/man/scale_colour_continuous.Rd b/man/scale_colour_continuous.Rd index bf7a287ac4..d7590ec55b 100644 --- a/man/scale_colour_continuous.Rd +++ b/man/scale_colour_continuous.Rd @@ -5,11 +5,11 @@ \alias{scale_fill_continuous} \title{Continuous colour scales} \usage{ -scale_colour_continuous(..., - type = getOption("ggplot2.continuous.colour", default = "gradient")) - -scale_fill_continuous(..., type = getOption("ggplot2.continuous.fill", +scale_colour_continuous(..., type = getOption("ggplot2.continuous.colour", default = "gradient")) + +scale_fill_continuous(..., type = getOption("ggplot2.continuous.fill", default + = "gradient")) } \arguments{ \item{...}{Additional parameters passed on to the scale type} diff --git a/man/scale_date.Rd b/man/scale_date.Rd index 91744aa438..69c12eabf9 100644 --- a/man/scale_date.Rd +++ b/man/scale_date.Rd @@ -9,37 +9,33 @@ \alias{scale_y_time} \title{Position scales for date/time data} \usage{ -scale_x_date(name = waiver(), breaks = waiver(), - date_breaks = waiver(), labels = waiver(), date_labels = waiver(), - minor_breaks = waiver(), date_minor_breaks = waiver(), - limits = NULL, expand = waiver(), position = "bottom") +scale_x_date(name = waiver(), breaks = waiver(), date_breaks = waiver(), + labels = waiver(), date_labels = waiver(), minor_breaks = waiver(), + date_minor_breaks = waiver(), limits = NULL, expand = waiver(), + position = "bottom") -scale_y_date(name = waiver(), breaks = waiver(), - date_breaks = waiver(), labels = waiver(), date_labels = waiver(), - minor_breaks = waiver(), date_minor_breaks = waiver(), - limits = NULL, expand = waiver(), position = "left") +scale_y_date(name = waiver(), breaks = waiver(), date_breaks = waiver(), + labels = waiver(), date_labels = waiver(), minor_breaks = waiver(), + date_minor_breaks = waiver(), limits = NULL, expand = waiver(), + position = "left") scale_x_datetime(name = waiver(), breaks = waiver(), date_breaks = waiver(), labels = waiver(), date_labels = waiver(), - minor_breaks = waiver(), date_minor_breaks = waiver(), - timezone = NULL, limits = NULL, expand = waiver(), - position = "bottom") + minor_breaks = waiver(), date_minor_breaks = waiver(), timezone = NULL, + limits = NULL, expand = waiver(), position = "bottom") scale_y_datetime(name = waiver(), breaks = waiver(), date_breaks = waiver(), labels = waiver(), date_labels = waiver(), - minor_breaks = waiver(), date_minor_breaks = waiver(), - timezone = NULL, limits = NULL, expand = waiver(), - position = "left") + minor_breaks = waiver(), date_minor_breaks = waiver(), timezone = NULL, + limits = NULL, expand = waiver(), position = "left") -scale_x_time(name = waiver(), breaks = waiver(), - minor_breaks = waiver(), labels = waiver(), limits = NULL, - expand = waiver(), oob = censor, na.value = NA_real_, - position = "bottom") +scale_x_time(name = waiver(), breaks = waiver(), minor_breaks = waiver(), + labels = waiver(), limits = NULL, expand = waiver(), oob = censor, + na.value = NA_real_, position = "bottom") -scale_y_time(name = waiver(), breaks = waiver(), - minor_breaks = waiver(), labels = waiver(), limits = NULL, - expand = waiver(), oob = censor, na.value = NA_real_, - position = "left") +scale_y_time(name = waiver(), breaks = waiver(), minor_breaks = waiver(), + labels = waiver(), limits = NULL, expand = waiver(), oob = censor, + na.value = NA_real_, position = "left") } \arguments{ \item{name}{The name of the scale. Used as the axis or legend title. If diff --git a/man/scale_gradient.Rd b/man/scale_gradient.Rd index f37d139f9d..c846a9fc39 100644 --- a/man/scale_gradient.Rd +++ b/man/scale_gradient.Rd @@ -21,9 +21,8 @@ scale_colour_gradient(..., low = "#132B43", high = "#56B1F7", space = "Lab", na.value = "grey50", guide = "colourbar", aesthetics = "colour") -scale_fill_gradient(..., low = "#132B43", high = "#56B1F7", - space = "Lab", na.value = "grey50", guide = "colourbar", - aesthetics = "fill") +scale_fill_gradient(..., low = "#132B43", high = "#56B1F7", space = "Lab", + na.value = "grey50", guide = "colourbar", aesthetics = "fill") scale_colour_gradient2(..., low = muted("red"), mid = "white", high = muted("blue"), midpoint = 0, space = "Lab", @@ -34,12 +33,10 @@ scale_fill_gradient2(..., low = muted("red"), mid = "white", na.value = "grey50", guide = "colourbar", aesthetics = "fill") scale_colour_gradientn(..., colours, values = NULL, space = "Lab", - na.value = "grey50", guide = "colourbar", aesthetics = "colour", - colors) + na.value = "grey50", guide = "colourbar", aesthetics = "colour", colors) scale_fill_gradientn(..., colours, values = NULL, space = "Lab", - na.value = "grey50", guide = "colourbar", aesthetics = "fill", - colors) + na.value = "grey50", guide = "colourbar", aesthetics = "fill", colors) } \arguments{ \item{...}{Arguments passed on to \code{continuous_scale} @@ -130,7 +127,7 @@ Defaults to 0.} \item{values}{if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the -\code{colours} vector. See \code{\link{rescale}} for a convience function +\code{colours} vector. See \code{\link[=rescale]{rescale()}} for a convenience function to map an arbitrary range to between 0 and 1.} } \description{ diff --git a/man/scale_grey.Rd b/man/scale_grey.Rd index 2cedbc6d71..c32e80b965 100644 --- a/man/scale_grey.Rd +++ b/man/scale_grey.Rd @@ -66,9 +66,9 @@ scales, "top" or "bottom" for horizontal scales} \item{super}{The super class to use for the constructed scale} }} -\item{start}{gray value at low end of palette} +\item{start}{grey value at low end of palette} -\item{end}{gray value at high end of palette} +\item{end}{grey value at high end of palette} \item{na.value}{Colour to use for missing values} diff --git a/man/scale_hue.Rd b/man/scale_hue.Rd index 872b500479..d5e3a00a38 100644 --- a/man/scale_hue.Rd +++ b/man/scale_hue.Rd @@ -9,13 +9,11 @@ \alias{scale_color_hue} \title{Evenly spaced colours for discrete data} \usage{ -scale_colour_hue(..., h = c(0, 360) + 15, c = 100, l = 65, - h.start = 0, direction = 1, na.value = "grey50", - aesthetics = "colour") +scale_colour_hue(..., h = c(0, 360) + 15, c = 100, l = 65, h.start = 0, + direction = 1, na.value = "grey50", aesthetics = "colour") -scale_fill_hue(..., h = c(0, 360) + 15, c = 100, l = 65, - h.start = 0, direction = 1, na.value = "grey50", - aesthetics = "fill") +scale_fill_hue(..., h = c(0, 360) + 15, c = 100, l = 65, h.start = 0, + direction = 1, na.value = "grey50", aesthetics = "fill") } \arguments{ \item{...}{Arguments passed on to \code{discrete_scale} diff --git a/man/scale_size.Rd b/man/scale_size.Rd index c9ec70d115..edd67ee4e1 100644 --- a/man/scale_size.Rd +++ b/man/scale_size.Rd @@ -12,12 +12,10 @@ \title{Scales for area or radius} \usage{ scale_radius(name = waiver(), breaks = waiver(), labels = waiver(), - limits = NULL, range = c(1, 6), trans = "identity", - guide = "legend") + limits = NULL, range = c(1, 6), trans = "identity", guide = "legend") scale_size(name = waiver(), breaks = waiver(), labels = waiver(), - limits = NULL, range = c(1, 6), trans = "identity", - guide = "legend") + limits = NULL, range = c(1, 6), trans = "identity", guide = "legend") scale_size_area(..., max_size = 6) } diff --git a/man/scale_viridis.Rd b/man/scale_viridis.Rd index 1043472c27..923979fdc3 100644 --- a/man/scale_viridis.Rd +++ b/man/scale_viridis.Rd @@ -14,16 +14,16 @@ scale_colour_viridis_d(..., alpha = 1, begin = 0, end = 1, direction = 1, option = "D", aesthetics = "colour") -scale_fill_viridis_d(..., alpha = 1, begin = 0, end = 1, - direction = 1, option = "D", aesthetics = "fill") +scale_fill_viridis_d(..., alpha = 1, begin = 0, end = 1, direction = 1, + option = "D", aesthetics = "fill") scale_colour_viridis_c(..., alpha = 1, begin = 0, end = 1, direction = 1, option = "D", values = NULL, space = "Lab", na.value = "grey50", guide = "colourbar", aesthetics = "colour") -scale_fill_viridis_c(..., alpha = 1, begin = 0, end = 1, - direction = 1, option = "D", values = NULL, space = "Lab", - na.value = "grey50", guide = "colourbar", aesthetics = "fill") +scale_fill_viridis_c(..., alpha = 1, begin = 0, end = 1, direction = 1, + option = "D", values = NULL, space = "Lab", na.value = "grey50", + guide = "colourbar", aesthetics = "fill") } \arguments{ \item{...}{Other arguments passed on to \code{\link[=discrete_scale]{discrete_scale()}} or @@ -50,7 +50,7 @@ same time, via \code{aesthetics = c("colour", "fill")}.} \item{values}{if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the -\code{colours} vector. See \code{\link{rescale}} for a convience function +\code{colours} vector. See \code{\link[=rescale]{rescale()}} for a convenience function to map an arbitrary range to between 0 and 1.} \item{space}{colour space in which to calculate gradient. Must be "Lab" - diff --git a/man/stat_ellipse.Rd b/man/stat_ellipse.Rd index cf39ad9442..75ba1d5a89 100644 --- a/man/stat_ellipse.Rd +++ b/man/stat_ellipse.Rd @@ -5,9 +5,8 @@ \title{Compute normal confidence ellipses} \usage{ stat_ellipse(mapping = NULL, data = NULL, geom = "path", - position = "identity", ..., type = "t", level = 0.95, - segments = 51, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "identity", ..., type = "t", level = 0.95, segments = 51, + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/stat_function.Rd b/man/stat_function.Rd index 0a7fe4e0ff..a1e043b294 100644 --- a/man/stat_function.Rd +++ b/man/stat_function.Rd @@ -5,9 +5,8 @@ \title{Compute function for each x value} \usage{ stat_function(mapping = NULL, data = NULL, geom = "path", - position = "identity", ..., fun, xlim = NULL, n = 101, - args = list(), na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "identity", ..., fun, xlim = NULL, n = 101, args = list(), + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/stat_summary.Rd b/man/stat_summary.Rd index 16282262f0..1ed284b169 100644 --- a/man/stat_summary.Rd +++ b/man/stat_summary.Rd @@ -13,8 +13,8 @@ stat_summary_bin(mapping = NULL, data = NULL, geom = "pointrange", stat_summary(mapping = NULL, data = NULL, geom = "pointrange", position = "identity", ..., fun.data = NULL, fun.y = NULL, - fun.ymax = NULL, fun.ymin = NULL, fun.args = list(), - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + fun.ymax = NULL, fun.ymin = NULL, fun.args = list(), na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/stat_summary_2d.Rd b/man/stat_summary_2d.Rd index d8531db9df..8c99403ba8 100644 --- a/man/stat_summary_2d.Rd +++ b/man/stat_summary_2d.Rd @@ -7,14 +7,14 @@ \title{Bin and summarise in 2d (rectangle & hexagons)} \usage{ stat_summary_2d(mapping = NULL, data = NULL, geom = "tile", - position = "identity", ..., bins = 30, binwidth = NULL, - drop = TRUE, fun = "mean", fun.args = list(), na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., bins = 30, binwidth = NULL, drop = TRUE, + fun = "mean", fun.args = list(), na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) stat_summary_hex(mapping = NULL, data = NULL, geom = "hex", - position = "identity", ..., bins = 30, binwidth = NULL, - drop = TRUE, fun = "mean", fun.args = list(), na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., bins = 30, binwidth = NULL, drop = TRUE, + fun = "mean", fun.args = list(), na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/theme.Rd b/man/theme.Rd index cc99c50f5b..9aa36b9c80 100644 --- a/man/theme.Rd +++ b/man/theme.Rd @@ -8,9 +8,9 @@ theme(line, rect, text, title, aspect.ratio, axis.title, axis.title.x, axis.title.x.top, axis.title.x.bottom, axis.title.y, axis.title.y.left, axis.title.y.right, axis.text, axis.text.x, axis.text.x.top, axis.text.x.bottom, axis.text.y, axis.text.y.left, axis.text.y.right, - axis.ticks, axis.ticks.x, axis.ticks.x.top, axis.ticks.x.bottom, - axis.ticks.y, axis.ticks.y.left, axis.ticks.y.right, axis.ticks.length, - axis.line, axis.line.x, axis.line.x.top, axis.line.x.bottom, axis.line.y, + axis.ticks, axis.ticks.x, axis.ticks.x.top, axis.ticks.x.bottom, axis.ticks.y, + axis.ticks.y.left, axis.ticks.y.right, axis.ticks.length, axis.line, + axis.line.x, axis.line.x.top, axis.line.x.bottom, axis.line.y, axis.line.y.left, axis.line.y.right, legend.background, legend.margin, legend.spacing, legend.spacing.x, legend.spacing.y, legend.key, legend.key.size, legend.key.height, legend.key.width, legend.text, @@ -20,12 +20,11 @@ theme(line, rect, text, title, aspect.ratio, axis.title, axis.title.x, panel.background, panel.border, panel.spacing, panel.spacing.x, panel.spacing.y, panel.grid, panel.grid.major, panel.grid.minor, panel.grid.major.x, panel.grid.major.y, panel.grid.minor.x, - panel.grid.minor.y, panel.ontop, plot.background, plot.title, - plot.subtitle, plot.caption, plot.tag, plot.tag.position, plot.margin, - strip.background, strip.background.x, strip.background.y, - strip.placement, strip.text, strip.text.x, strip.text.y, - strip.switch.pad.grid, strip.switch.pad.wrap, ..., complete = FALSE, - validate = TRUE) + panel.grid.minor.y, panel.ontop, plot.background, plot.title, plot.subtitle, + plot.caption, plot.tag, plot.tag.position, plot.margin, strip.background, + strip.background.x, strip.background.y, strip.placement, strip.text, + strip.text.x, strip.text.y, strip.switch.pad.grid, strip.switch.pad.wrap, ..., + complete = FALSE, validate = TRUE) } \arguments{ \item{line}{all line elements (\code{\link[=element_line]{element_line()}})} From 413d66a4502393bd6b42d4e443a754b02a8b462b Mon Sep 17 00:00:00 2001 From: Claus Wilke Date: Fri, 17 Aug 2018 17:21:12 -0500 Subject: [PATCH 2/2] rebuild docs with roxygen 6.1.0 --- DESCRIPTION | 2 +- man/annotation_logticks.Rd | 6 ++--- man/borders.Rd | 4 ++-- man/continuous_scale.Rd | 6 ++--- man/coord_map.Rd | 3 ++- man/coord_trans.Rd | 4 ++-- man/cut_interval.Rd | 4 ++-- man/discrete_scale.Rd | 5 +++-- man/element.Rd | 14 +++++++----- man/facet_grid.Rd | 7 +++--- man/fortify.sp.Rd | 3 ++- man/geom_abline.Rd | 8 +++---- man/geom_bar.Rd | 7 +++--- man/geom_bin2d.Rd | 4 ++-- man/geom_boxplot.Rd | 14 ++++++------ man/geom_contour.Rd | 3 ++- man/geom_density.Rd | 6 ++--- man/geom_density_2d.Rd | 3 ++- man/geom_hex.Rd | 4 ++-- man/geom_histogram.Rd | 13 ++++++----- man/geom_jitter.Rd | 4 ++-- man/geom_qq.Rd | 6 +++-- man/geom_quantile.Rd | 7 +++--- man/geom_segment.Rd | 4 ++-- man/geom_smooth.Rd | 6 ++--- man/geom_text.Rd | 14 ++++++------ man/geom_violin.Rd | 9 ++++---- man/ggplot.Rd | 3 ++- man/ggplot2-package.Rd | 6 ++--- man/ggtheme.Rd | 4 ++-- man/guide_legend.Rd | 14 ++++++------ man/qplot.Rd | 10 +++++---- man/scale_brewer.Rd | 6 ++--- man/scale_colour_continuous.Rd | 8 +++---- man/scale_date.Rd | 40 +++++++++++++++++++--------------- man/scale_gradient.Rd | 11 ++++++---- man/scale_hue.Rd | 10 +++++---- man/scale_size.Rd | 6 +++-- man/scale_viridis.Rd | 10 ++++----- man/stat_ellipse.Rd | 5 +++-- man/stat_function.Rd | 5 +++-- man/stat_summary.Rd | 4 ++-- man/stat_summary_2d.Rd | 12 +++++----- man/theme.Rd | 17 ++++++++------- 44 files changed, 186 insertions(+), 155 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index bcbfff5607..9cbbd67a3e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -239,6 +239,6 @@ Collate: 'zxx.r' 'zzz.r' VignetteBuilder: knitr -RoxygenNote: 6.0.1.9000 +RoxygenNote: 6.1.0 Roxygen: list(markdown = TRUE) Encoding: UTF-8 diff --git a/man/annotation_logticks.Rd b/man/annotation_logticks.Rd index 1b56fd45bf..270feae107 100644 --- a/man/annotation_logticks.Rd +++ b/man/annotation_logticks.Rd @@ -5,9 +5,9 @@ \title{Annotation: log tick marks} \usage{ annotation_logticks(base = 10, sides = "bl", scaled = TRUE, - short = unit(0.1, "cm"), mid = unit(0.2, "cm"), long = unit(0.3, "cm"), - colour = "black", size = 0.5, linetype = 1, alpha = 1, color = NULL, - ...) + short = unit(0.1, "cm"), mid = unit(0.2, "cm"), long = unit(0.3, + "cm"), colour = "black", size = 0.5, linetype = 1, alpha = 1, + color = NULL, ...) } \arguments{ \item{base}{the base of the log (default 10)} diff --git a/man/borders.Rd b/man/borders.Rd index bb3cc23225..212d100f5a 100644 --- a/man/borders.Rd +++ b/man/borders.Rd @@ -4,8 +4,8 @@ \alias{borders} \title{Create a layer of map borders} \usage{ -borders(database = "world", regions = ".", fill = NA, colour = "grey50", - xlim = NULL, ylim = NULL, ...) +borders(database = "world", regions = ".", fill = NA, + colour = "grey50", xlim = NULL, ylim = NULL, ...) } \arguments{ \item{database}{map data, see \code{\link[maps:map]{maps::map()}} for details} diff --git a/man/continuous_scale.Rd b/man/continuous_scale.Rd index 46d0e2b3ac..7ee2521d88 100644 --- a/man/continuous_scale.Rd +++ b/man/continuous_scale.Rd @@ -6,9 +6,9 @@ \usage{ continuous_scale(aesthetics, scale_name, palette, name = waiver(), breaks = waiver(), minor_breaks = waiver(), labels = waiver(), - limits = NULL, rescaler = rescale, oob = censor, expand = waiver(), - na.value = NA_real_, trans = "identity", guide = "legend", - position = "left", super = ScaleContinuous) + limits = NULL, rescaler = rescale, oob = censor, + expand = waiver(), na.value = NA_real_, trans = "identity", + guide = "legend", position = "left", super = ScaleContinuous) } \arguments{ \item{aesthetics}{The names of the aesthetics that this scale works with} diff --git a/man/coord_map.Rd b/man/coord_map.Rd index 407d56f970..00ea7555f2 100644 --- a/man/coord_map.Rd +++ b/man/coord_map.Rd @@ -8,7 +8,8 @@ coord_map(projection = "mercator", ..., parameters = NULL, orientation = NULL, xlim = NULL, ylim = NULL, clip = "on") -coord_quickmap(xlim = NULL, ylim = NULL, expand = TRUE, clip = "on") +coord_quickmap(xlim = NULL, ylim = NULL, expand = TRUE, + clip = "on") } \arguments{ \item{projection}{projection to use, see diff --git a/man/coord_trans.Rd b/man/coord_trans.Rd index 04dcb1731b..56b7282b34 100644 --- a/man/coord_trans.Rd +++ b/man/coord_trans.Rd @@ -4,8 +4,8 @@ \alias{coord_trans} \title{Transformed Cartesian coordinate system} \usage{ -coord_trans(x = "identity", y = "identity", limx = NULL, limy = NULL, - clip = "on", xtrans, ytrans) +coord_trans(x = "identity", y = "identity", limx = NULL, + limy = NULL, clip = "on", xtrans, ytrans) } \arguments{ \item{x, y}{transformers for x and y axes} diff --git a/man/cut_interval.Rd b/man/cut_interval.Rd index ff6b18ae6c..2e9d18058b 100644 --- a/man/cut_interval.Rd +++ b/man/cut_interval.Rd @@ -10,8 +10,8 @@ cut_interval(x, n = NULL, length = NULL, ...) cut_number(x, n = NULL, ...) -cut_width(x, width, center = NULL, boundary = NULL, closed = c("right", - "left")) +cut_width(x, width, center = NULL, boundary = NULL, + closed = c("right", "left")) } \arguments{ \item{x}{numeric vector} diff --git a/man/discrete_scale.Rd b/man/discrete_scale.Rd index d3d90b342b..1db8c31372 100644 --- a/man/discrete_scale.Rd +++ b/man/discrete_scale.Rd @@ -6,8 +6,9 @@ \usage{ discrete_scale(aesthetics, scale_name, palette, name = waiver(), breaks = waiver(), labels = waiver(), limits = NULL, - expand = waiver(), na.translate = TRUE, na.value = NA, drop = TRUE, - guide = "legend", position = "left", super = ScaleDiscrete) + expand = waiver(), na.translate = TRUE, na.value = NA, + drop = TRUE, guide = "legend", position = "left", + super = ScaleDiscrete) } \arguments{ \item{aesthetics}{The names of the aesthetics that this scale works with} diff --git a/man/element.Rd b/man/element.Rd index 1d4b3f1a43..e7be72807c 100644 --- a/man/element.Rd +++ b/man/element.Rd @@ -13,15 +13,17 @@ margin(t = 0, r = 0, b = 0, l = 0, unit = "pt") element_blank() -element_rect(fill = NULL, colour = NULL, size = NULL, linetype = NULL, - color = NULL, inherit.blank = FALSE) +element_rect(fill = NULL, colour = NULL, size = NULL, + linetype = NULL, color = NULL, inherit.blank = FALSE) element_line(colour = NULL, size = NULL, linetype = NULL, - lineend = NULL, color = NULL, arrow = NULL, inherit.blank = FALSE) + lineend = NULL, color = NULL, arrow = NULL, + inherit.blank = FALSE) -element_text(family = NULL, face = NULL, colour = NULL, size = NULL, - hjust = NULL, vjust = NULL, angle = NULL, lineheight = NULL, - color = NULL, margin = NULL, debug = NULL, inherit.blank = FALSE) +element_text(family = NULL, face = NULL, colour = NULL, + size = NULL, hjust = NULL, vjust = NULL, angle = NULL, + lineheight = NULL, color = NULL, margin = NULL, debug = NULL, + inherit.blank = FALSE) rel(x) } diff --git a/man/facet_grid.Rd b/man/facet_grid.Rd index 16d77c847b..e099c779db 100644 --- a/man/facet_grid.Rd +++ b/man/facet_grid.Rd @@ -4,9 +4,10 @@ \alias{facet_grid} \title{Lay out panels in a grid} \usage{ -facet_grid(rows = NULL, cols = NULL, scales = "fixed", space = "fixed", - shrink = TRUE, labeller = "label_value", as.table = TRUE, - switch = NULL, drop = TRUE, margins = FALSE, facets = NULL) +facet_grid(rows = NULL, cols = NULL, scales = "fixed", + space = "fixed", shrink = TRUE, labeller = "label_value", + as.table = TRUE, switch = NULL, drop = TRUE, margins = FALSE, + facets = NULL) } \arguments{ \item{rows, cols}{A set of variables or expressions quoted by diff --git a/man/fortify.sp.Rd b/man/fortify.sp.Rd index 96a638e4cb..999fb6c1f1 100644 --- a/man/fortify.sp.Rd +++ b/man/fortify.sp.Rd @@ -11,7 +11,8 @@ \alias{fortify.Line} \title{Fortify method for classes from the sp package.} \usage{ -\method{fortify}{SpatialPolygonsDataFrame}(model, data, region = NULL, ...) +\method{fortify}{SpatialPolygonsDataFrame}(model, data, region = NULL, + ...) \method{fortify}{SpatialPolygons}(model, data, ...) diff --git a/man/geom_abline.Rd b/man/geom_abline.Rd index bab9d021bc..fca9760ab4 100644 --- a/man/geom_abline.Rd +++ b/man/geom_abline.Rd @@ -9,11 +9,11 @@ geom_abline(mapping = NULL, data = NULL, ..., slope, intercept, na.rm = FALSE, show.legend = NA) -geom_hline(mapping = NULL, data = NULL, ..., yintercept, na.rm = FALSE, - show.legend = NA) +geom_hline(mapping = NULL, data = NULL, ..., yintercept, + na.rm = FALSE, show.legend = NA) -geom_vline(mapping = NULL, data = NULL, ..., xintercept, na.rm = FALSE, - show.legend = NA) +geom_vline(mapping = NULL, data = NULL, ..., xintercept, + na.rm = FALSE, show.legend = NA) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_bar.Rd b/man/geom_bar.Rd index cdd895666b..b1fae01f40 100644 --- a/man/geom_bar.Rd +++ b/man/geom_bar.Rd @@ -7,11 +7,12 @@ \title{Bar charts} \usage{ geom_bar(mapping = NULL, data = NULL, stat = "count", - position = "stack", ..., width = NULL, binwidth = NULL, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "stack", ..., width = NULL, binwidth = NULL, + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) geom_col(mapping = NULL, data = NULL, position = "stack", ..., - width = NULL, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + width = NULL, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) stat_count(mapping = NULL, data = NULL, geom = "bar", position = "stack", ..., width = NULL, na.rm = FALSE, diff --git a/man/geom_bin2d.Rd b/man/geom_bin2d.Rd index ed0ec0bde4..d004cfdcd8 100644 --- a/man/geom_bin2d.Rd +++ b/man/geom_bin2d.Rd @@ -11,8 +11,8 @@ geom_bin2d(mapping = NULL, data = NULL, stat = "bin2d", inherit.aes = TRUE) stat_bin_2d(mapping = NULL, data = NULL, geom = "tile", - position = "identity", ..., bins = 30, binwidth = NULL, drop = TRUE, - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., bins = 30, binwidth = NULL, + drop = TRUE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_boxplot.Rd b/man/geom_boxplot.Rd index 2786b37210..d42d4d5789 100644 --- a/man/geom_boxplot.Rd +++ b/man/geom_boxplot.Rd @@ -6,15 +6,15 @@ \title{A box and whiskers plot (in the style of Tukey)} \usage{ geom_boxplot(mapping = NULL, data = NULL, stat = "boxplot", - position = "dodge2", ..., outlier.colour = NULL, outlier.color = NULL, - outlier.fill = NULL, outlier.shape = 19, outlier.size = 1.5, - outlier.stroke = 0.5, outlier.alpha = NULL, notch = FALSE, - notchwidth = 0.5, varwidth = FALSE, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "dodge2", ..., outlier.colour = NULL, + outlier.color = NULL, outlier.fill = NULL, outlier.shape = 19, + outlier.size = 1.5, outlier.stroke = 0.5, outlier.alpha = NULL, + notch = FALSE, notchwidth = 0.5, varwidth = FALSE, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) stat_boxplot(mapping = NULL, data = NULL, geom = "boxplot", - position = "dodge2", ..., coef = 1.5, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "dodge2", ..., coef = 1.5, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_contour.Rd b/man/geom_contour.Rd index 9cb3d2e63d..2fa02256ab 100644 --- a/man/geom_contour.Rd +++ b/man/geom_contour.Rd @@ -7,7 +7,8 @@ \usage{ geom_contour(mapping = NULL, data = NULL, stat = "contour", position = "identity", ..., lineend = "butt", linejoin = "round", - linemitre = 10, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + linemitre = 10, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) stat_contour(mapping = NULL, data = NULL, geom = "contour", position = "identity", ..., na.rm = FALSE, show.legend = NA, diff --git a/man/geom_density.Rd b/man/geom_density.Rd index 4070786e80..72d25b8661 100644 --- a/man/geom_density.Rd +++ b/man/geom_density.Rd @@ -10,9 +10,9 @@ geom_density(mapping = NULL, data = NULL, stat = "density", inherit.aes = TRUE) stat_density(mapping = NULL, data = NULL, geom = "area", - position = "stack", ..., bw = "nrd0", adjust = 1, kernel = "gaussian", - n = 512, trim = FALSE, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "stack", ..., bw = "nrd0", adjust = 1, + kernel = "gaussian", n = 512, trim = FALSE, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_density_2d.Rd b/man/geom_density_2d.Rd index db666230f9..dead4ecd28 100644 --- a/man/geom_density_2d.Rd +++ b/man/geom_density_2d.Rd @@ -9,7 +9,8 @@ \usage{ geom_density_2d(mapping = NULL, data = NULL, stat = "density2d", position = "identity", ..., lineend = "butt", linejoin = "round", - linemitre = 10, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + linemitre = 10, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) stat_density_2d(mapping = NULL, data = NULL, geom = "density_2d", position = "identity", ..., contour = TRUE, n = 100, h = NULL, diff --git a/man/geom_hex.Rd b/man/geom_hex.Rd index 757d960db6..602693864c 100644 --- a/man/geom_hex.Rd +++ b/man/geom_hex.Rd @@ -11,8 +11,8 @@ geom_hex(mapping = NULL, data = NULL, stat = "binhex", inherit.aes = TRUE) stat_bin_hex(mapping = NULL, data = NULL, geom = "hex", - position = "identity", ..., bins = 30, binwidth = NULL, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., bins = 30, binwidth = NULL, + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_histogram.Rd b/man/geom_histogram.Rd index dcfaf34b8c..d9de9d4ab2 100644 --- a/man/geom_histogram.Rd +++ b/man/geom_histogram.Rd @@ -12,13 +12,14 @@ geom_freqpoly(mapping = NULL, data = NULL, stat = "bin", inherit.aes = TRUE) geom_histogram(mapping = NULL, data = NULL, stat = "bin", - position = "stack", ..., binwidth = NULL, bins = NULL, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) - -stat_bin(mapping = NULL, data = NULL, geom = "bar", position = "stack", - ..., binwidth = NULL, bins = NULL, center = NULL, boundary = NULL, - breaks = NULL, closed = c("right", "left"), pad = FALSE, + position = "stack", ..., binwidth = NULL, bins = NULL, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + +stat_bin(mapping = NULL, data = NULL, geom = "bar", + position = "stack", ..., binwidth = NULL, bins = NULL, + center = NULL, boundary = NULL, breaks = NULL, + closed = c("right", "left"), pad = FALSE, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_jitter.Rd b/man/geom_jitter.Rd index 62582b888c..2851418a3a 100644 --- a/man/geom_jitter.Rd +++ b/man/geom_jitter.Rd @@ -5,8 +5,8 @@ \title{Jittered points} \usage{ geom_jitter(mapping = NULL, data = NULL, stat = "identity", - position = "jitter", ..., width = NULL, height = NULL, na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + position = "jitter", ..., width = NULL, height = NULL, + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_qq.Rd b/man/geom_qq.Rd index ef247abd80..32505df89d 100644 --- a/man/geom_qq.Rd +++ b/man/geom_qq.Rd @@ -19,11 +19,13 @@ stat_qq_line(mapping = NULL, data = NULL, geom = "path", geom_qq(mapping = NULL, data = NULL, geom = "point", position = "identity", ..., distribution = stats::qnorm, - dparams = list(), na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + dparams = list(), na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) stat_qq(mapping = NULL, data = NULL, geom = "point", position = "identity", ..., distribution = stats::qnorm, - dparams = list(), na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + dparams = list(), na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_quantile.Rd b/man/geom_quantile.Rd index 9c8ae31330..d8e819135d 100644 --- a/man/geom_quantile.Rd +++ b/man/geom_quantile.Rd @@ -7,12 +7,13 @@ \usage{ geom_quantile(mapping = NULL, data = NULL, stat = "quantile", position = "identity", ..., lineend = "butt", linejoin = "round", - linemitre = 10, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + linemitre = 10, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) stat_quantile(mapping = NULL, data = NULL, geom = "quantile", position = "identity", ..., quantiles = c(0.25, 0.5, 0.75), - formula = NULL, method = "rq", method.args = list(), na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + formula = NULL, method = "rq", method.args = list(), + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_segment.Rd b/man/geom_segment.Rd index 2903b5f688..7146d36ac9 100644 --- a/man/geom_segment.Rd +++ b/man/geom_segment.Rd @@ -7,8 +7,8 @@ \usage{ geom_segment(mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., arrow = NULL, arrow.fill = NULL, - lineend = "butt", linejoin = "round", na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + lineend = "butt", linejoin = "round", na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) geom_curve(mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., curvature = 0.5, angle = 90, ncp = 5, diff --git a/man/geom_smooth.Rd b/man/geom_smooth.Rd index 36092280fc..215eb2d8cd 100644 --- a/man/geom_smooth.Rd +++ b/man/geom_smooth.Rd @@ -11,9 +11,9 @@ geom_smooth(mapping = NULL, data = NULL, stat = "smooth", stat_smooth(mapping = NULL, data = NULL, geom = "smooth", position = "identity", ..., method = "auto", formula = y ~ x, - se = TRUE, n = 80, span = 0.75, fullrange = FALSE, level = 0.95, - method.args = list(), na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + se = TRUE, n = 80, span = 0.75, fullrange = FALSE, + level = 0.95, method.args = list(), na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_text.Rd b/man/geom_text.Rd index 019a5fd3c8..beb9a6d5d1 100644 --- a/man/geom_text.Rd +++ b/man/geom_text.Rd @@ -6,15 +6,15 @@ \title{Text} \usage{ geom_label(mapping = NULL, data = NULL, stat = "identity", - position = "identity", ..., parse = FALSE, nudge_x = 0, nudge_y = 0, - label.padding = unit(0.25, "lines"), label.r = unit(0.15, "lines"), - label.size = 0.25, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "identity", ..., parse = FALSE, nudge_x = 0, + nudge_y = 0, label.padding = unit(0.25, "lines"), + label.r = unit(0.15, "lines"), label.size = 0.25, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) geom_text(mapping = NULL, data = NULL, stat = "identity", - position = "identity", ..., parse = FALSE, nudge_x = 0, nudge_y = 0, - check_overlap = FALSE, na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "identity", ..., parse = FALSE, nudge_x = 0, + nudge_y = 0, check_overlap = FALSE, na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/geom_violin.Rd b/man/geom_violin.Rd index 0b14a7c80b..0cecb3b442 100644 --- a/man/geom_violin.Rd +++ b/man/geom_violin.Rd @@ -7,12 +7,13 @@ \usage{ geom_violin(mapping = NULL, data = NULL, stat = "ydensity", position = "dodge", ..., draw_quantiles = NULL, trim = TRUE, - scale = "area", na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + scale = "area", na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) stat_ydensity(mapping = NULL, data = NULL, geom = "violin", - position = "dodge", ..., bw = "nrd0", adjust = 1, kernel = "gaussian", - trim = TRUE, scale = "area", na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "dodge", ..., bw = "nrd0", adjust = 1, + kernel = "gaussian", trim = TRUE, scale = "area", na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/ggplot.Rd b/man/ggplot.Rd index dc85733d93..280267e665 100644 --- a/man/ggplot.Rd +++ b/man/ggplot.Rd @@ -4,7 +4,8 @@ \alias{ggplot} \title{Create a new ggplot} \usage{ -ggplot(data = NULL, mapping = aes(), ..., environment = parent.frame()) +ggplot(data = NULL, mapping = aes(), ..., + environment = parent.frame()) } \arguments{ \item{data}{Default dataset to use for plot. If not already a data.frame, diff --git a/man/ggplot2-package.Rd b/man/ggplot2-package.Rd index d40bd66c72..fa4b8c429e 100644 --- a/man/ggplot2-package.Rd +++ b/man/ggplot2-package.Rd @@ -9,9 +9,9 @@ \if{html}{\figure{logo.png}{options: align='right'}} A system for 'declaratively' creating graphics, -based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' -how to map variables to aesthetics, what graphical primitives to use, -and it takes care of the details. + based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' + how to map variables to aesthetics, what graphical primitives to use, + and it takes care of the details. } \seealso{ Useful links: diff --git a/man/ggtheme.Rd b/man/ggtheme.Rd index 2a1c1bee64..800da29faa 100644 --- a/man/ggtheme.Rd +++ b/man/ggtheme.Rd @@ -19,8 +19,8 @@ theme_grey(base_size = 11, base_family = "", theme_gray(base_size = 11, base_family = "", base_line_size = base_size/22, base_rect_size = base_size/22) -theme_bw(base_size = 11, base_family = "", base_line_size = base_size/22, - base_rect_size = base_size/22) +theme_bw(base_size = 11, base_family = "", + base_line_size = base_size/22, base_rect_size = base_size/22) theme_linedraw(base_size = 11, base_family = "", base_line_size = base_size/22, base_rect_size = base_size/22) diff --git a/man/guide_legend.Rd b/man/guide_legend.Rd index c0e70f8a7f..bd53036d09 100644 --- a/man/guide_legend.Rd +++ b/man/guide_legend.Rd @@ -4,13 +4,13 @@ \alias{guide_legend} \title{Legend guide} \usage{ -guide_legend(title = waiver(), title.position = NULL, title.theme = NULL, - title.hjust = NULL, title.vjust = NULL, label = TRUE, - label.position = NULL, label.theme = NULL, label.hjust = NULL, - label.vjust = NULL, keywidth = NULL, keyheight = NULL, - direction = NULL, default.unit = "line", override.aes = list(), - nrow = NULL, ncol = NULL, byrow = FALSE, reverse = FALSE, order = 0, - ...) +guide_legend(title = waiver(), title.position = NULL, + title.theme = NULL, title.hjust = NULL, title.vjust = NULL, + label = TRUE, label.position = NULL, label.theme = NULL, + label.hjust = NULL, label.vjust = NULL, keywidth = NULL, + keyheight = NULL, direction = NULL, default.unit = "line", + override.aes = list(), nrow = NULL, ncol = NULL, byrow = FALSE, + reverse = FALSE, order = 0, ...) } \arguments{ \item{title}{A character string or expression indicating a title of guide. diff --git a/man/qplot.Rd b/man/qplot.Rd index d15551fe85..ac5e00f8d9 100644 --- a/man/qplot.Rd +++ b/man/qplot.Rd @@ -7,11 +7,13 @@ \usage{ qplot(x, y, ..., data, facets = NULL, margins = FALSE, geom = "auto", xlim = c(NA, NA), ylim = c(NA, NA), log = "", main = NULL, - xlab = NULL, ylab = NULL, asp = NA, stat = NULL, position = NULL) + xlab = NULL, ylab = NULL, asp = NA, stat = NULL, + position = NULL) -quickplot(x, y, ..., data, facets = NULL, margins = FALSE, geom = "auto", - xlim = c(NA, NA), ylim = c(NA, NA), log = "", main = NULL, - xlab = NULL, ylab = NULL, asp = NA, stat = NULL, position = NULL) +quickplot(x, y, ..., data, facets = NULL, margins = FALSE, + geom = "auto", xlim = c(NA, NA), ylim = c(NA, NA), log = "", + main = NULL, xlab = NULL, ylab = NULL, asp = NA, stat = NULL, + position = NULL) } \arguments{ \item{x, y, ...}{Aesthetics passed into each layer} diff --git a/man/scale_brewer.Rd b/man/scale_brewer.Rd index 3771000079..feb4299834 100644 --- a/man/scale_brewer.Rd +++ b/man/scale_brewer.Rd @@ -15,9 +15,9 @@ scale_colour_brewer(..., type = "seq", palette = 1, direction = 1, scale_fill_brewer(..., type = "seq", palette = 1, direction = 1, aesthetics = "fill") -scale_colour_distiller(..., type = "seq", palette = 1, direction = -1, - values = NULL, space = "Lab", na.value = "grey50", - guide = "colourbar", aesthetics = "colour") +scale_colour_distiller(..., type = "seq", palette = 1, + direction = -1, values = NULL, space = "Lab", + na.value = "grey50", guide = "colourbar", aesthetics = "colour") scale_fill_distiller(..., type = "seq", palette = 1, direction = -1, values = NULL, space = "Lab", na.value = "grey50", diff --git a/man/scale_colour_continuous.Rd b/man/scale_colour_continuous.Rd index d7590ec55b..bf7a287ac4 100644 --- a/man/scale_colour_continuous.Rd +++ b/man/scale_colour_continuous.Rd @@ -5,11 +5,11 @@ \alias{scale_fill_continuous} \title{Continuous colour scales} \usage{ -scale_colour_continuous(..., type = getOption("ggplot2.continuous.colour", - default = "gradient")) +scale_colour_continuous(..., + type = getOption("ggplot2.continuous.colour", default = "gradient")) -scale_fill_continuous(..., type = getOption("ggplot2.continuous.fill", default - = "gradient")) +scale_fill_continuous(..., type = getOption("ggplot2.continuous.fill", + default = "gradient")) } \arguments{ \item{...}{Additional parameters passed on to the scale type} diff --git a/man/scale_date.Rd b/man/scale_date.Rd index 69c12eabf9..91744aa438 100644 --- a/man/scale_date.Rd +++ b/man/scale_date.Rd @@ -9,33 +9,37 @@ \alias{scale_y_time} \title{Position scales for date/time data} \usage{ -scale_x_date(name = waiver(), breaks = waiver(), date_breaks = waiver(), - labels = waiver(), date_labels = waiver(), minor_breaks = waiver(), - date_minor_breaks = waiver(), limits = NULL, expand = waiver(), - position = "bottom") +scale_x_date(name = waiver(), breaks = waiver(), + date_breaks = waiver(), labels = waiver(), date_labels = waiver(), + minor_breaks = waiver(), date_minor_breaks = waiver(), + limits = NULL, expand = waiver(), position = "bottom") -scale_y_date(name = waiver(), breaks = waiver(), date_breaks = waiver(), - labels = waiver(), date_labels = waiver(), minor_breaks = waiver(), - date_minor_breaks = waiver(), limits = NULL, expand = waiver(), - position = "left") +scale_y_date(name = waiver(), breaks = waiver(), + date_breaks = waiver(), labels = waiver(), date_labels = waiver(), + minor_breaks = waiver(), date_minor_breaks = waiver(), + limits = NULL, expand = waiver(), position = "left") scale_x_datetime(name = waiver(), breaks = waiver(), date_breaks = waiver(), labels = waiver(), date_labels = waiver(), - minor_breaks = waiver(), date_minor_breaks = waiver(), timezone = NULL, - limits = NULL, expand = waiver(), position = "bottom") + minor_breaks = waiver(), date_minor_breaks = waiver(), + timezone = NULL, limits = NULL, expand = waiver(), + position = "bottom") scale_y_datetime(name = waiver(), breaks = waiver(), date_breaks = waiver(), labels = waiver(), date_labels = waiver(), - minor_breaks = waiver(), date_minor_breaks = waiver(), timezone = NULL, - limits = NULL, expand = waiver(), position = "left") + minor_breaks = waiver(), date_minor_breaks = waiver(), + timezone = NULL, limits = NULL, expand = waiver(), + position = "left") -scale_x_time(name = waiver(), breaks = waiver(), minor_breaks = waiver(), - labels = waiver(), limits = NULL, expand = waiver(), oob = censor, - na.value = NA_real_, position = "bottom") +scale_x_time(name = waiver(), breaks = waiver(), + minor_breaks = waiver(), labels = waiver(), limits = NULL, + expand = waiver(), oob = censor, na.value = NA_real_, + position = "bottom") -scale_y_time(name = waiver(), breaks = waiver(), minor_breaks = waiver(), - labels = waiver(), limits = NULL, expand = waiver(), oob = censor, - na.value = NA_real_, position = "left") +scale_y_time(name = waiver(), breaks = waiver(), + minor_breaks = waiver(), labels = waiver(), limits = NULL, + expand = waiver(), oob = censor, na.value = NA_real_, + position = "left") } \arguments{ \item{name}{The name of the scale. Used as the axis or legend title. If diff --git a/man/scale_gradient.Rd b/man/scale_gradient.Rd index c846a9fc39..ace7c800ad 100644 --- a/man/scale_gradient.Rd +++ b/man/scale_gradient.Rd @@ -21,8 +21,9 @@ scale_colour_gradient(..., low = "#132B43", high = "#56B1F7", space = "Lab", na.value = "grey50", guide = "colourbar", aesthetics = "colour") -scale_fill_gradient(..., low = "#132B43", high = "#56B1F7", space = "Lab", - na.value = "grey50", guide = "colourbar", aesthetics = "fill") +scale_fill_gradient(..., low = "#132B43", high = "#56B1F7", + space = "Lab", na.value = "grey50", guide = "colourbar", + aesthetics = "fill") scale_colour_gradient2(..., low = muted("red"), mid = "white", high = muted("blue"), midpoint = 0, space = "Lab", @@ -33,10 +34,12 @@ scale_fill_gradient2(..., low = muted("red"), mid = "white", na.value = "grey50", guide = "colourbar", aesthetics = "fill") scale_colour_gradientn(..., colours, values = NULL, space = "Lab", - na.value = "grey50", guide = "colourbar", aesthetics = "colour", colors) + na.value = "grey50", guide = "colourbar", aesthetics = "colour", + colors) scale_fill_gradientn(..., colours, values = NULL, space = "Lab", - na.value = "grey50", guide = "colourbar", aesthetics = "fill", colors) + na.value = "grey50", guide = "colourbar", aesthetics = "fill", + colors) } \arguments{ \item{...}{Arguments passed on to \code{continuous_scale} diff --git a/man/scale_hue.Rd b/man/scale_hue.Rd index d5e3a00a38..872b500479 100644 --- a/man/scale_hue.Rd +++ b/man/scale_hue.Rd @@ -9,11 +9,13 @@ \alias{scale_color_hue} \title{Evenly spaced colours for discrete data} \usage{ -scale_colour_hue(..., h = c(0, 360) + 15, c = 100, l = 65, h.start = 0, - direction = 1, na.value = "grey50", aesthetics = "colour") +scale_colour_hue(..., h = c(0, 360) + 15, c = 100, l = 65, + h.start = 0, direction = 1, na.value = "grey50", + aesthetics = "colour") -scale_fill_hue(..., h = c(0, 360) + 15, c = 100, l = 65, h.start = 0, - direction = 1, na.value = "grey50", aesthetics = "fill") +scale_fill_hue(..., h = c(0, 360) + 15, c = 100, l = 65, + h.start = 0, direction = 1, na.value = "grey50", + aesthetics = "fill") } \arguments{ \item{...}{Arguments passed on to \code{discrete_scale} diff --git a/man/scale_size.Rd b/man/scale_size.Rd index edd67ee4e1..c9ec70d115 100644 --- a/man/scale_size.Rd +++ b/man/scale_size.Rd @@ -12,10 +12,12 @@ \title{Scales for area or radius} \usage{ scale_radius(name = waiver(), breaks = waiver(), labels = waiver(), - limits = NULL, range = c(1, 6), trans = "identity", guide = "legend") + limits = NULL, range = c(1, 6), trans = "identity", + guide = "legend") scale_size(name = waiver(), breaks = waiver(), labels = waiver(), - limits = NULL, range = c(1, 6), trans = "identity", guide = "legend") + limits = NULL, range = c(1, 6), trans = "identity", + guide = "legend") scale_size_area(..., max_size = 6) } diff --git a/man/scale_viridis.Rd b/man/scale_viridis.Rd index 923979fdc3..621aa8c6f3 100644 --- a/man/scale_viridis.Rd +++ b/man/scale_viridis.Rd @@ -14,16 +14,16 @@ scale_colour_viridis_d(..., alpha = 1, begin = 0, end = 1, direction = 1, option = "D", aesthetics = "colour") -scale_fill_viridis_d(..., alpha = 1, begin = 0, end = 1, direction = 1, - option = "D", aesthetics = "fill") +scale_fill_viridis_d(..., alpha = 1, begin = 0, end = 1, + direction = 1, option = "D", aesthetics = "fill") scale_colour_viridis_c(..., alpha = 1, begin = 0, end = 1, direction = 1, option = "D", values = NULL, space = "Lab", na.value = "grey50", guide = "colourbar", aesthetics = "colour") -scale_fill_viridis_c(..., alpha = 1, begin = 0, end = 1, direction = 1, - option = "D", values = NULL, space = "Lab", na.value = "grey50", - guide = "colourbar", aesthetics = "fill") +scale_fill_viridis_c(..., alpha = 1, begin = 0, end = 1, + direction = 1, option = "D", values = NULL, space = "Lab", + na.value = "grey50", guide = "colourbar", aesthetics = "fill") } \arguments{ \item{...}{Other arguments passed on to \code{\link[=discrete_scale]{discrete_scale()}} or diff --git a/man/stat_ellipse.Rd b/man/stat_ellipse.Rd index 75ba1d5a89..cf39ad9442 100644 --- a/man/stat_ellipse.Rd +++ b/man/stat_ellipse.Rd @@ -5,8 +5,9 @@ \title{Compute normal confidence ellipses} \usage{ stat_ellipse(mapping = NULL, data = NULL, geom = "path", - position = "identity", ..., type = "t", level = 0.95, segments = 51, - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., type = "t", level = 0.95, + segments = 51, na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/stat_function.Rd b/man/stat_function.Rd index a1e043b294..0a7fe4e0ff 100644 --- a/man/stat_function.Rd +++ b/man/stat_function.Rd @@ -5,8 +5,9 @@ \title{Compute function for each x value} \usage{ stat_function(mapping = NULL, data = NULL, geom = "path", - position = "identity", ..., fun, xlim = NULL, n = 101, args = list(), - na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) + position = "identity", ..., fun, xlim = NULL, n = 101, + args = list(), na.rm = FALSE, show.legend = NA, + inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/stat_summary.Rd b/man/stat_summary.Rd index 1ed284b169..16282262f0 100644 --- a/man/stat_summary.Rd +++ b/man/stat_summary.Rd @@ -13,8 +13,8 @@ stat_summary_bin(mapping = NULL, data = NULL, geom = "pointrange", stat_summary(mapping = NULL, data = NULL, geom = "pointrange", position = "identity", ..., fun.data = NULL, fun.y = NULL, - fun.ymax = NULL, fun.ymin = NULL, fun.args = list(), na.rm = FALSE, - show.legend = NA, inherit.aes = TRUE) + fun.ymax = NULL, fun.ymin = NULL, fun.args = list(), + na.rm = FALSE, show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/stat_summary_2d.Rd b/man/stat_summary_2d.Rd index 8c99403ba8..d8531db9df 100644 --- a/man/stat_summary_2d.Rd +++ b/man/stat_summary_2d.Rd @@ -7,14 +7,14 @@ \title{Bin and summarise in 2d (rectangle & hexagons)} \usage{ stat_summary_2d(mapping = NULL, data = NULL, geom = "tile", - position = "identity", ..., bins = 30, binwidth = NULL, drop = TRUE, - fun = "mean", fun.args = list(), na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "identity", ..., bins = 30, binwidth = NULL, + drop = TRUE, fun = "mean", fun.args = list(), na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) stat_summary_hex(mapping = NULL, data = NULL, geom = "hex", - position = "identity", ..., bins = 30, binwidth = NULL, drop = TRUE, - fun = "mean", fun.args = list(), na.rm = FALSE, show.legend = NA, - inherit.aes = TRUE) + position = "identity", ..., bins = 30, binwidth = NULL, + drop = TRUE, fun = "mean", fun.args = list(), na.rm = FALSE, + show.legend = NA, inherit.aes = TRUE) } \arguments{ \item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or diff --git a/man/theme.Rd b/man/theme.Rd index 9aa36b9c80..cc99c50f5b 100644 --- a/man/theme.Rd +++ b/man/theme.Rd @@ -8,9 +8,9 @@ theme(line, rect, text, title, aspect.ratio, axis.title, axis.title.x, axis.title.x.top, axis.title.x.bottom, axis.title.y, axis.title.y.left, axis.title.y.right, axis.text, axis.text.x, axis.text.x.top, axis.text.x.bottom, axis.text.y, axis.text.y.left, axis.text.y.right, - axis.ticks, axis.ticks.x, axis.ticks.x.top, axis.ticks.x.bottom, axis.ticks.y, - axis.ticks.y.left, axis.ticks.y.right, axis.ticks.length, axis.line, - axis.line.x, axis.line.x.top, axis.line.x.bottom, axis.line.y, + axis.ticks, axis.ticks.x, axis.ticks.x.top, axis.ticks.x.bottom, + axis.ticks.y, axis.ticks.y.left, axis.ticks.y.right, axis.ticks.length, + axis.line, axis.line.x, axis.line.x.top, axis.line.x.bottom, axis.line.y, axis.line.y.left, axis.line.y.right, legend.background, legend.margin, legend.spacing, legend.spacing.x, legend.spacing.y, legend.key, legend.key.size, legend.key.height, legend.key.width, legend.text, @@ -20,11 +20,12 @@ theme(line, rect, text, title, aspect.ratio, axis.title, axis.title.x, panel.background, panel.border, panel.spacing, panel.spacing.x, panel.spacing.y, panel.grid, panel.grid.major, panel.grid.minor, panel.grid.major.x, panel.grid.major.y, panel.grid.minor.x, - panel.grid.minor.y, panel.ontop, plot.background, plot.title, plot.subtitle, - plot.caption, plot.tag, plot.tag.position, plot.margin, strip.background, - strip.background.x, strip.background.y, strip.placement, strip.text, - strip.text.x, strip.text.y, strip.switch.pad.grid, strip.switch.pad.wrap, ..., - complete = FALSE, validate = TRUE) + panel.grid.minor.y, panel.ontop, plot.background, plot.title, + plot.subtitle, plot.caption, plot.tag, plot.tag.position, plot.margin, + strip.background, strip.background.x, strip.background.y, + strip.placement, strip.text, strip.text.x, strip.text.y, + strip.switch.pad.grid, strip.switch.pad.wrap, ..., complete = FALSE, + validate = TRUE) } \arguments{ \item{line}{all line elements (\code{\link[=element_line]{element_line()}})}