Browse files

Fixes to docs for R CMD check

  • Loading branch information...
1 parent a5383f2 commit f65dfb2d1f6f7cabfadc171ef4138d8c4f3b153e @wch wch committed Oct 29, 2012
Showing with 7 additions and 5 deletions.
  1. +1 −2 R/scale-size.r
  2. +2 −0 R/stat-identity.r
  3. +0 −3 man/scale_size_area.Rd
  4. +4 −0 man/stat_identity.Rd
View
3 R/scale-size.r
@@ -56,11 +56,10 @@ scale_size_discrete <- function(..., range = c(1, 6)) {
#'
#' @param ... Other arguments passed on to \code{\link{continuous_scale}}
#' to control name, limits, breaks, labels and so forth.
-#' @param range Range of output sizes. Should be greater than 0.
#' @param max_size Size of largest points.
#' @export
scale_size_area <- function(..., max_size = 6) {
continuous_scale("size", "area",
- pal = abs_area(max_size),
+ palette = abs_area(max_size),
rescaler = rescale_max, ...)
}
View
2 R/stat-identity.r
@@ -11,6 +11,8 @@
#' @param geom The geometric object to use display the data
#' @param position The position adjustment to use for overlappling points
#' on this layer
+#' @param width The width of the tiles.
+#' @param height The height of the tiles.
#' @param ... other arguments passed on to \code{\link{layer}}. This can
#' include aesthetics whose values you want to set, not map. See
#' \code{\link{layer}} for more details.
View
3 man/scale_size_area.Rd
@@ -9,9 +9,6 @@
\code{\link{continuous_scale}} to control name, limits,
breaks, labels and so forth.}
- \item{range}{Range of output sizes. Should be greater
- than 0.}
-
\item{max_size}{Size of largest points.}
}
\description{
View
4 man/stat_identity.Rd
@@ -20,6 +20,10 @@
\item{position}{The position adjustment to use for
overlappling points on this layer}
+ \item{width}{The width of the tiles.}
+
+ \item{height}{The height of the tiles.}
+
\item{...}{other arguments passed on to
\code{\link{layer}}. This can include aesthetics whose
values you want to set, not map. See \code{\link{layer}}

0 comments on commit f65dfb2

Please sign in to comment.