basic_pagdf: Basic/spoof pagination info dataframe
Description
Returns a minimal pagination info data.frame (with no sibling/footnote/etc info).
Usage
basic_pagdf(
rnames,
labs = rnames,
rnums = seq_along(rnames),
extents = 1L,
rclass = "NA",
parent_path = "root"
)
Value
A data.frame suitable for use in both the matrix_print_form
constructor and the pagination machinery
Arguments
- rnames
character. Vector of row names
- labs
character. Vector of row labels (defaults to names)
- rnums
integer. Vector of row numbers. Defaults to seq_along(rnames)
.
- extents
integer. Number of lines each row will take to print, defaults to 1 for all rows
- rclass
character. Class(es) for the rows. Defaults to "NA"
- parent_path
character. parent path that all rows should be "children of",
defaults to "root"
, and generally should not matter to end users.
Examples
Run this code
basic_pagdf(c("hi", "there"))
Run the code above in your browser using DataLab