Shorten Column Names of data.frame
1 2 3 4 5 6 7 | shorten_colnames(
x,
cols = seq_along(x),
sep = " ",
method = shorten_string,
...
)
|
x |
the data.frame whose columnames should be shortened. |
cols |
the column names to shorten. Can be integer denoting which columns or character indicating the column names. |
sep |
the shortened name separator. |
method |
how should the string be shortened. Can be either shorten_string or shorten_acronym. Default shorten_string. |
... |
other parameters to be passed to method. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.