Description Usage Arguments Details Value Examples
Function relabel
changes the labels of a factor or any object
that has a names
, labels
, value.labels
, or variable.labels
attribute.
1 2 3 4 |
x |
An object with a |
... |
A sequence of named arguments, all of type character |
gsub |
a logical value; if TRUE, |
fixed |
a logical value, passed to |
warn |
a logical value; if TRUE, a warning is issues if a a change of labels was unsuccessful. |
This function changes the names or labels of x
according to the
remaining arguments.
If gsub
is FALSE, argument tags are the old
labels, the values are the new labels.
If gsub
is TRUE, arguments are substrings of the labels
that are substituted by the argument values.
The object x
with new labels defined by the ... arguments.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.