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

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)