Description Usage Arguments Examples
Function to return a longer version of a variable name. The point is to be able to use short names of variables in a data frame, but be able to refer to a longer name such as for a plot label or elsewhere.
1 | lookup(colname, longnames)
|
colname |
A character string that generally corresponds to a column names of a dataframe. This would generally be a short name, for which a longer name is desired for a plot or table. |
longnames |
A vector of longer variable names, where the names of longnames should include colname. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.