powered by
Like mat, but returns a data frame.
mat
dmat(x, ...)
A data frame (i.e., an object of class "data.frame".
"data.frame"
A data vector, character string, or a list.
Aditional optional arguments passed on to mat.
mat, bmat.
bmat
dmat('1e-01, 2+5, 3, 4, 5; 6, 7, 8, 9^2, pi', rows = FALSE) z <- list(a = 1:10, b = 11:20, c = 21:30) dmat(z) # list elements form rows dmat(z, rows= FALSE) # list elements form columns
Run the code above in your browser using DataLab