Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

prPrepInputMatrixDimensions

Makes sure the input is correct


Description

Checks and converts dimensions into something the htmlTable() is comfortable with.

Usage

prPrepInputMatrixDimensions(x, header = 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.

header

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

See Also


htmlTable

Advanced Tables for Markdown/HTML

v2.1.0
GPL (>= 3)
Authors
Max Gordon [aut, cre], Stephen Gragg [aut], Peter Konings [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.