Format a vector (data frame column) aligning, rounding the numbers and adding color.
1 2 3 4 5 6 7 8 9 10 11 |
x |
a vector |
col_name |
optional: a column name (see Details) |
style |
A list with style definition |
df_style |
style for the whole data frame |
format |
Whether the vector should be formatted and aligned |
col_width |
optional: width to which elements of the vector should be aligned |
prefix |
prefix (column separator) to add to each element of x |
min.width |
minimum width of a column |
max.width |
maximum width of a column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.