View source: R/print.char.list.s
simplifyDims | R Documentation |
Takes a list where each element is a group of rows that have been spanned by a multirow row and combines it into one large matrix.
simplifyDims(x)
x |
list of spanned rows |
All rows must have the same number of columns. This is used to format the list for printing.
a matrix that contains all of the spanned rows.
Charles Dupont
rbind
a <- list(a = matrix(1:25, ncol=5), b = matrix(1:10, ncol=5), c = 1:5)
simplifyDims(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.