Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Dec 24, 2024
1 parent c9ae6e9 commit 2a1cb48
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 28 deletions.
16 changes: 8 additions & 8 deletions R/layout-stack-.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#'
#' Several aliases are provided for convenience:
#' - `stack_discretev` and `stack_alignv`: A special case of `stack_discrete`
#' that sets `direction = "vertical"`.
#' that sets `direction = "v"`.
#' - `stack_discreteh` and `stack_alignh`: A special case of `stack_discrete`
#' that sets `direction = "horizontal"`.
#' that sets `direction = "h"`.
#'
#' @param direction A string indicating the direction of the stack layout,
#' either `"h"`(`horizontal`) or `"v"`(`vertical`).
Expand All @@ -24,10 +24,10 @@
#' plots in the layout.
#'
#' @param sizes A numeric value or a [`unit`][grid::unit] object. When used for
#' the [`quad_layout()`] annotation, it must be of length `1`. When used in
#' the [`stack_layout()`] with a nested [`quad_layout()`], it should be of
#' length `3`, specifying the relative heights (for `direction = "horizontal"`)
#' or widths (for `direction = "vertical"`) to be applied to the layout.
#' the [`quad_layout()`] annotation, it must be of length `1`. When used in the
#' [`stack_layout()`] with a nested [`quad_layout()`], it should be of length
#' `3`, specifying the relative heights (for `direction = "h"`) or widths (for
#' `direction = "v"`) to be applied to the layout.
#'
#' @examples
#' set.seed(123)
Expand Down Expand Up @@ -110,9 +110,9 @@ stack_discrete.formula <- stack_discrete.function
#' variables. The alias `stack_free` is retained for historical reasons.
#'
#' - `stack_continuousv()`/`stack_freev`: A special case of `stack_free` that
#' sets `direction = "vertical"`.
#' sets `direction = "v"`.
#' - `stack_continuoush()`/`stack_freeh`: A special case of `stack_free` that
#' sets `direction = "horizontal"`.
#' sets `direction = "h"`.
#'
#' @param data `r rd_layout_data()`, [`fortify_data_frame()`] will be used to
#' convert data to a data frame. Note that if the data is a `matrix`, it will
Expand Down
12 changes: 6 additions & 6 deletions man/stack_continuous.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/stack_cross.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions man/stack_discrete.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/stack_switch.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2a1cb48

Please sign in to comment.