Description Usage Arguments Examples
Find the categorical variable matching the name of the coefficient in lava
1 | renameFactor(var, ls.levels, data, sep = "")
|
var |
the name of the coefficient (binary indicator) |
ls.levels |
a named list containing the levels for each variable |
data |
the dataset used to find the possible categorical/factor variables |
sep |
the character used to collapse the variable name and its levels in var |
1 2 3 4 | ## Not run:
lavaSearch2:::renameFactor("x2C", ls.levels = list(x1 = 1:5, x2 = c("A","B","C")))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.