diff --git a/man/gt_split.Rd b/man/gt_split.Rd index c04cd18c..5875f287 100644 --- a/man/gt_split.Rd +++ b/man/gt_split.Rd @@ -12,7 +12,7 @@ gt_split(data, row_every_n = NULL, row_slice_i = NULL, col_slice_at = NULL) \verb{obj:} // \strong{required} This is the \strong{gt} table object that is commonly created through use of the -\code{\link[gt:gt]{gt::gt()}} function.} +\code{\link[gt:gt]{gt()}} function.} \item{row_every_n}{\emph{Split at every n rows} @@ -59,7 +59,7 @@ version of this function. \section{Examples}{ -Use a subset of the \code{\link[gt:gtcars]{gt::gtcars}} dataset to create a \strong{gt} table. Format the +Use a subset of the \code{\link[gt:gtcars]{gtcars}} dataset to create a \strong{gt} table. Format the \code{msrp} column to display numbers as currency values, set column widths with \link[gt]{cols_width}, and split the table at every five rows with \code{gt_split()}. This creates a \code{gt_group} object containing two tables. Printing this object @@ -77,9 +77,9 @@ yields two tables separated by a line break. gt_split(row_every_n = 5) }\if{html}{\out{}} -Use a smaller subset of the \code{\link[gt:gtcars]{gt::gtcars}} dataset to create a \strong{gt} table. +Use a smaller subset of the \code{\link[gt:gtcars]{gtcars}} dataset to create a \strong{gt} table. Format the \code{msrp} column to display numbers as currency values, set the table -width with \code{\link[gt:tab_options]{gt::tab_options()}} and split the table at the \code{model} column This +width with \code{\link[gt:tab_options]{tab_options()}} and split the table at the \code{model} column This creates a \code{gt_group} object again containing two tables but this time we get a vertical split. Printing this object yields two tables of the same width.