Description Usage Arguments Details Value Examples
.TrimColNames
is an internal function that is not intended to be
called by the user. It is called by other FIRST API methods.
1 | .TrimColNames(col_names)
|
col_names |
A character vector of column names, generally provided by the names() function. |
.TrimColNames removes all portions of a string up to and including the first period. It's intended to produce shorter column names that are easier to type in R interactive sessions. Column names without periods are left unchanged.
A character vector of trimmed column names, with the same length as the col_names argument.
1 | names(rankings) <- .TrimColNames(names(rankings))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.