Description Usage Arguments Value Examples
Return all factor variables in a dataframe or matrix
1 | list.factor(x, levels = FALSE)
|
x |
a dataframe or matrix |
levels |
logical. TRUE to display levels for factor variable. |
factor variable names and levels
1 2 3 4 | jh=data.frame(x=c(1,2,3,1),
k=c(4,5,6,7),
h=c('a','a','b','b'))
list.factor(jh)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.