vars2df | R Documentation |
Make data.frame from a list of vars
vars2df(vars, mpos = c(0.5, 0.9), df = NULL)
vars |
A list |
mpos |
A numeric vector of length 2 |
df |
A data.frame |
vars=list(name=list(c("tenure","age")),site=list(c("a","b"))) vars2df(vars) vars=list(name=list(c("milk","hair")),matrix=list(c(1,0,0,0,0,0,1,0,0,0)),pos=5) vars2df(vars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.