Skip to content

Commit b05301a

Browse files
committed
Redocument with latest roxygen
1 parent bc8fcc1 commit b05301a

File tree

165 files changed

+1783
-2100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+1783
-2100
lines changed

man/add_theme.Rd

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
add_theme(t1, t2, t2name)
77
}
88
\arguments{
9-
\item{t1}{A theme object}
9+
\item{t1}{A theme object}
1010

11-
\item{t2}{A theme object that is to be added to
12-
\code{t1}}
11+
\item{t2}{A theme object that is to be added to \code{t1}}
1312

14-
\item{t2name}{A name of the t2 object. This is used for
15-
printing informative error messages.}
13+
\item{t2name}{A name of the t2 object. This is used for printing
14+
informative error messages.}
1615
}
1716
\description{
1817
Modify properties of an element in a theme object

man/aes.Rd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ mapped to visual properties (aesthetics) of geoms.}
77
aes(x, y, ...)
88
}
99
\arguments{
10-
\item{x}{x value}
10+
\item{x}{x value}
1111

12-
\item{y}{y value}
12+
\item{y}{y value}
1313

14-
\item{...}{List of name value pairs giving aesthetics to
15-
map.}
14+
\item{...}{List of name value pairs giving aesthetics to map.}
1615
}
1716
\description{
1817
\code{aes} creates a list of unevaluated expressions. This function also

man/aes_all.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
aes_all(vars)
77
}
88
\arguments{
9-
\item{vars}{vector of variable names}
9+
\item{vars}{vector of variable names}
1010
}
1111
\description{
1212
Given a character vector, create a set of identity mappings

man/aes_auto.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
aes_auto(data = NULL, ...)
77
}
88
\arguments{
9-
\item{data}{data.frame or names of variables}
9+
\item{data}{data.frame or names of variables}
1010

11-
\item{...}{aesthetics that need to be explicitly mapped.}
11+
\item{...}{aesthetics that need to be explicitly mapped.}
1212
}
1313
\description{
1414
Automatic aesthetic mapping

man/aes_string.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
aes_string(...)
77
}
88
\arguments{
9-
\item{...}{List of name value pairs}
9+
\item{...}{List of name value pairs}
1010
}
1111
\description{
1212
Aesthetic mappings describe how variables in the data are mapped to visual

man/annotate.Rd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ annotate(geom, x = NULL, y = NULL, xmin = NULL, xmax = NULL,
77
ymin = NULL, ymax = NULL, ...)
88
}
99
\arguments{
10-
\item{geom}{name of geom to use for annotation}
10+
\item{geom}{name of geom to use for annotation}
1111

12-
\item{x,y,xmin,ymin,xmax,ymax}{positionining aesthetics -
13-
you must specify at least one of these.}
12+
\item{x,y,xmin,ymin,xmax,ymax}{positionining aesthetics - you must
13+
specify at least one of these.}
1414

15-
\item{...}{other aesthetics. These are not scaled so you
16-
can do (e.g.) \code{colour = "red"} to get a red point.}
15+
\item{...}{other aesthetics. These are not scaled so you can do (e.g.)
16+
\code{colour = "red"} to get a red point.}
1717
}
1818
\description{
1919
This function adds geoms to a plot. Unlike typical a geom function,

man/annotation_custom.Rd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ annotation_custom(grob, xmin = -Inf, xmax = Inf, ymin = -Inf,
77
ymax = Inf)
88
}
99
\arguments{
10-
\item{grob}{grob to display}
10+
\item{grob}{grob to display}
1111

12-
\item{xmin,xmax}{x location (in data coordinates) giving
13-
horizontal location of raster}
12+
\item{xmin,xmax}{x location (in data coordinates) giving horizontal
13+
location of raster}
1414

15-
\item{ymin,ymax}{y location (in data coordinates) giving
16-
vertical location of raster}
15+
\item{ymin,ymax}{y location (in data coordinates) giving vertical
16+
location of raster}
1717
}
1818
\description{
1919
This is a special geom intended for use as static annnotations

man/annotation_logticks.Rd

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,42 +9,36 @@ annotation_logticks(base = 10, sides = "bl", scaled = TRUE,
99
...)
1010
}
1111
\arguments{
12-
\item{base}{the base of the log (default 10)}
12+
\item{base}{the base of the log (default 10)}
1313

14-
\item{sides}{a string that controls which sides of the
15-
plot the log ticks appear on. It can be set to a string
16-
containing any of \code{"trbl"}, for top, right, bottom,
17-
and left.}
14+
\item{sides}{a string that controls which sides of the plot the log ticks appear on.
15+
It can be set to a string containing any of \code{"trbl"}, for top, right,
16+
bottom, and left.}
1817

19-
\item{short}{a \code{unit} object specifying the length
20-
of the short tick marks}
18+
\item{short}{a \code{unit} object specifying the length of the short tick marks}
2119

22-
\item{mid}{a \code{unit} object specifying the length of
23-
the middle tick marks. In base 10, these are the "5"
24-
ticks.}
20+
\item{mid}{a \code{unit} object specifying the length of the middle tick marks.
21+
In base 10, these are the "5" ticks.}
2522

26-
\item{long}{a \code{unit} object specifying the length of
27-
the long tick marks. In base 10, these are the "1" (or
28-
"10") ticks.}
23+
\item{long}{a \code{unit} object specifying the length of the long tick marks.
24+
In base 10, these are the "1" (or "10") ticks.}
2925

30-
\item{scaled}{is the data already log-scaled? This should
31-
be \code{TRUE} (default) when the data is already
32-
transformed with \code{log10()} or when using
33-
\code{scale_y_log10}. It should be \code{FALSE} when
34-
using \code{coord_trans(y = "log10")}.}
26+
\item{scaled}{is the data already log-scaled? This should be \code{TRUE}
27+
(default) when the data is already transformed with \code{log10()} or when
28+
using \code{scale_y_log10}. It should be \code{FALSE} when using
29+
\code{coord_trans(y = "log10")}.}
3530

36-
\item{colour}{Colour of the tick marks.}
31+
\item{colour}{Colour of the tick marks.}
3732

38-
\item{size}{Thickness of tick marks, in mm.}
33+
\item{size}{Thickness of tick marks, in mm.}
3934

40-
\item{linetype}{Linetype of tick marks (\code{solid},
41-
\code{dashed}, etc.)}
35+
\item{linetype}{Linetype of tick marks (\code{solid}, \code{dashed}, etc.)}
4236

43-
\item{alpha}{The transparency of the tick marks.}
37+
\item{alpha}{The transparency of the tick marks.}
4438

45-
\item{color}{An alias for \code{colour}.}
39+
\item{color}{An alias for \code{colour}.}
4640

47-
\item{...}{Other parameters passed on to the layer}
41+
\item{...}{Other parameters passed on to the layer}
4842
}
4943
\description{
5044
This annotation adds log tick marks with diminishing spacing.

man/annotation_map.Rd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
annotation_map(map, ...)
77
}
88
\arguments{
9-
\item{map}{data frame representing a map. Most map
10-
objects can be converted into the right format by using
11-
\code{\link{fortify}}}
9+
\item{map}{data frame representing a map. Most map objects can be
10+
converted into the right format by using \code{\link{fortify}}}
1211

13-
\item{...}{other arguments used to modify aesthetics}
12+
\item{...}{other arguments used to modify aesthetics}
1413
}
1514
\description{
1615
Annotation: maps.

man/annotation_raster.Rd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
annotation_raster(raster, xmin, xmax, ymin, ymax, interpolate = FALSE)
77
}
88
\arguments{
9-
\item{raster}{raster object to display}
9+
\item{raster}{raster object to display}
1010

11-
\item{xmin,xmax}{x location (in data coordinates) giving
12-
horizontal location of raster}
11+
\item{xmin,xmax}{x location (in data coordinates) giving horizontal
12+
location of raster}
1313

14-
\item{ymin,ymax}{y location (in data coordinates) giving
15-
vertical location of raster}
14+
\item{ymin,ymax}{y location (in data coordinates) giving vertical
15+
location of raster}
1616

17-
\item{interpolate}{If \code{TRUE} interpolate linearly,
18-
if \code{FALSE} (the default) don't interpolate.}
17+
\item{interpolate}{If \code{TRUE} interpolate linearly, if \code{FALSE}
18+
(the default) don't interpolate.}
1919
}
2020
\description{
2121
This is a special version of \code{\link{geom_raster}} optimised for static

0 commit comments

Comments
 (0)