prPrepareCss: Prepares the cell style

View source: R/htmlTable_helpers_prepareCss.R

prPrepareCssR Documentation

Prepares the cell style

Description

Prepares the cell style

Usage

prPrepareCss(
  x,
  css,
  rnames,
  header = NULL,
  name = deparse(substitute(css)),
  style_list = NULL
)

Arguments

x

The matrix/data.frame with the data. For the print and knit_print it takes a string of the class htmlTable as x argument.

css

The CSS styles that are to be converted into a matrix.

rnames

Default row names are generated from rownames(x). If you provide FALSE then it will skip the row names. Note: For data.frames if you do rownames(my_dataframe) <- NULL it still has row names. Thus you need to use FALSE if you want to supress row names for data.frames.

header

A vector of character strings specifying column header, defaulting to colnames(x)

name

The name of the CSS style that is prepared

Value

matrix


htmlTable documentation built on Sept. 11, 2024, 8:48 p.m.