vert_pag_indices {formatters} | R Documentation |
Find column indices for vertical pagination
Description
Find column indices for vertical pagination
Usage
vert_pag_indices(
obj,
cpp = 40,
colwidths = NULL,
verbose = FALSE,
rep_cols = 0L,
fontspec,
nosplitin = character()
)
Arguments
obj |
( |
cpp |
( |
colwidths |
( |
verbose |
( |
rep_cols |
( |
fontspec |
( |
nosplitin |
( |
Value
A list
partitioning the vector of column indices into subsets for 1 or more horizontally paginated pages.
Examples
mf <- basic_matrix_form(df = mtcars)
colpaginds <- vert_pag_indices(mf, fontspec = font_spec())
lapply(colpaginds, function(j) mtcars[, j, drop = FALSE])