Learn R Programming

rlistings (version 0.2.7)

make_row_df,listing_df-method: Make pagination dataframe for a listing

Description

Make pagination dataframe for a listing

Usage

# S4 method for listing_df
make_row_df(
  tt,
  colwidths = NULL,
  visible_only = TRUE,
  rownum = 0,
  indent = 0L,
  path = character(),
  incontent = FALSE,
  repr_ext = 0L,
  repr_inds = integer(),
  sibpos = NA_integer_,
  nsibs = NA_integer_
)

Value

a data.frame with pagination information.

Arguments

tt

listing_df. The listing to be rendered

colwidths

numeric. Internal detail do not set manually.

visible_only

logical(1). Ignored, as listings do not have non-visible structural elements.

rownum

numeric(1). Internal detail do not set manually.

indent

integer(1). Internal detail do not set manually.

path

character. Path to the (sub)table represented by tt. Defaults to character()

incontent

logical(1). Internal detail do not set manually.

repr_ext

integer(1). Internal detail do not set manually.

repr_inds

integer. Internal detail do not set manually.

sibpos

integer(1). Internal detail do not set manually.

nsibs

integer(1). Internal detail do not set manually.

See Also

make_row_df

Examples

Run this code
lsting <- as_listing(mtcars)
mf <- matrix_form(lsting)

Run the code above in your browser using DataLab