Format a vector (data frame column) aligning, rounding the numbers and adding color.
format_col(
x,
col_name = NULL,
style = NULL,
df_style = NULL,
format = TRUE,
col_width = NULL,
prefix = " ",
min.width = 5L,
max.width = NULL
)
a vector
optional: a column name (see Details)
A list with style definition
style for the whole data frame
Whether the vector should be formatted and aligned
optional: width to which elements of the vector should be aligned
prefix (column separator) to add to each element of x
minimum width of a column
maximum width of a column