lst1 <- list(x=c("foo", "bar"), y=1:5)
list2df(lst1)
lst2 <- list(a=qcv(hello, everybody), b = mtcars[1:6, 1])
list2df(lst2, "col 1", "col 2")
matrix2df(mtcars)
matrix2df(cor(mtcars))
matrix2df(matrix(1:9, ncol=3))
vect2df(1:10)
vect2df(c(table(mtcars[, "gear"])))
list_df2df(list(mtcars, mtcars))
L1 <- list(a=1:10, b=1:6, c=5:8)
list_vect2df(L1)
Run the code above in your browser using DataLab