extra_cols

0th

Percentile

Retrieve information about columns that didn't fit the available width

Formatting a colonnade object may lead to some columns being omitted due to width restrictions. This method returns a character vector that describes each of the omitted columns.

Usage
extra_cols(x, ...)

# S3 method for squeezed_colonnade extra_cols(x, ..., n = Inf)

Arguments
x

The result of squeeze() on a colonnade object

...

Unused

n

The number of extra columns to return; the returned vector will always contain as many elements as there are extra columns, but elements beyond n will be NA.

Aliases
  • extra_cols
  • extra_cols.squeezed_colonnade
Examples
# NOT RUN {
extra_cols(squeeze(colonnade(list(a = 1:3, b = 4:6), width = 8)))
# }
Documentation reproduced from package pillar, version 1.3.1, License: GPL-3

Community examples

Looks like there are no examples yet.