Skip to content

Commit b323ede

Browse files
committed
migrate docs
1 parent f1dda8c commit b323ede

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

R/geom-violin.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#' @eval rd_aesthetics("geom", "violin")
1111
#' @inheritParams layer
1212
#' @inheritParams geom_bar
13-
#' @param draw_quantiles If `not(NULL)` (default), draw horizontal lines
14-
#' at the given quantiles of the density estimate.
1513
#' @param trim If `TRUE` (default), trim the tails of the violins
1614
#' to the range of the data. If `FALSE`, don't trim the tails.
1715
#' @param geom,stat Use to override the default connection between

R/stat-ydensity.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#' @param drop Whether to discard groups with less than 2 observations
88
#' (`TRUE`, default) or keep such groups for position adjustment purposes
99
#' (`FALSE`).
10+
#' @param draw_quantiles If not `NULL` (default), compute the `quantile` variable
11+
#' and draw horizontal lines at the given quantiles in `geom_violin()`.
1012
#'
1113
#' @eval rd_computed_vars(
1214
#' density = "Density estimate.",
@@ -16,7 +18,8 @@
1618
#' violinwidth = "Density scaled for the violin plot, according to area,
1719
#' counts or to a constant maximum width.",
1820
#' n = "Number of points.",
19-
#' width = "Width of violin bounding box."
21+
#' width = "Width of violin bounding box.",
22+
#' quantile = "Whether the row is part of the `draw_quantiles` computation."
2023
#' )
2124
#'
2225
#' @seealso [geom_violin()] for examples, and [stat_density()]

man/geom_violin.Rd

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)