powered by
Make data.frame from a list of vars
vars2df(vars, mpos = c(0.5, 0.9), df = NULL)
A list
A numeric vector of length 2
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)
Run the code above in your browser using DataLab