Standardizes the printing of data.frames and allows for renaming of columns without changing original data.frame.
1 |
data |
The data frame to be printed |
column_names |
Acharacter vector of column names to be applied. |
colors |
The columns of 'data' that should be colored based of their numeric content (e.g. data[, c('my_col'), drop=FALSE]). Also accepted: A named list of vectors with names indicating columns of data and values indicating colors for the corresponding cells of 'data'. |
md |
( |
... |
Additional key word arguments are passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.