Skip to content

Commit 76c99c3

Browse files
committed
document
1 parent afdd5e4 commit 76c99c3

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

R/facet-grid-.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@ NULL
3939
#' @param as.table If `TRUE`, the default, the facets are laid out like
4040
#' a table with highest values at the bottom-right. If `FALSE`, the
4141
#' facets are laid out like a plot with the highest value at the top-right.
42-
#' @param switch By default, the labels are displayed on the top and
43-
#' right of the plot. If `"x"`, the top labels will be
44-
#' displayed to the bottom. If `"y"`, the right-hand side
45-
#' labels will be displayed to the left. Can also be set to
46-
#' `"both"`.
42+
#' @param strip.position One or more of `"top"`, `"right"`, `"bottom"` and
43+
#' `"left"`, indicating where strips should be placed. When `NULL` (default),
44+
#' strips are placed on the top and on the right.
4745
#' @param shrink If `TRUE`, will shrink scales to fit output of
4846
#' statistics, not raw data. If `FALSE`, will be range of raw data
4947
#' before statistical summary.
@@ -57,6 +55,8 @@ NULL
5755
#' default). If `TRUE`, margins are included for all faceting
5856
#' variables. If specified as a character vector, it is the names of
5957
#' variables for which margins are to be created.
58+
#' @param switch `r lifecycle::badge("deprecated")` Please use
59+
#' `strip.position` instead.
6060
#' @param facets `r lifecycle::badge("deprecated")` Please use `rows`
6161
#' and `cols` instead.
6262
#' @param axes Determines which axes will be drawn. When `"margins"`

man/facet_grid.Rd

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

man/facet_wrap.Rd

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

0 commit comments

Comments
 (0)