View source: R/base_tab_prep.r
base_tab_prep | R Documentation |
Remove difficult variables: dates, factors with too many unique values, etc.
base_tab_prep(
X,
max.unique = 10,
elim.names = NULL,
force.factor = TRUE,
binary.code = TRUE,
elim.class = NULL
)
X |
a data frame |
max.unique |
maximum number of unique values to tolerate (for non-numeric variables), default 10 |
elim.names |
set of names to eliminate |
force.factor |
|
binary.code |
convert a 0/1 variable into a factor with these labels (if
|
elim.class |
a set of classes to eliminate in addition to |
Henrik Renlund
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.