print.data.frame_shim: wrapper to print data.frame colors

Description Usage Arguments

View source: R/print_data_frame_color_vector.R

Description

custom print method for data.frames that contain color_vctr's. Uses the base print.data.frame otherwise

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'data.frame_shim'
print(
  x,
  ...,
  digits = NULL,
  quote = FALSE,
  right = TRUE,
  row.names = TRUE,
  max = NULL
)

Arguments

x

a data.frame

...

optional arguments to print or plot methods.

digits

the minimum number of significant digits to be used: see print.default.

quote

logical, indicating whether or not entries should be printed with surrounding quotes.

right

logical, indicating whether or not strings should be right-aligned. The default is right-alignment.

row.names

logical (or character vector), indicating whether (or what) row names should be printed.

max

numeric or NULL, specifying the maximal number of entries to be printed. By default, when NULL, getOption("max.print") used.


thebioengineer/colortable documentation built on Sept. 2, 2020, 10:35 a.m.