Description Usage Arguments Details Value Examples
View source: R/as.matrix.list.R
This function cbinds the elements of a list together into a
matrix.  Elements shorter than the longest element are padded with
NA values to fill out the matrix.  If the elments themselves are
lists, a specific sub-element can be extracted by name using the
element argument.
| 1 2 | 
| x | list to be converted to a matrix | 
| element | sub-element of each list to extract before converting to matrix | 
| ... | additional arguments (ignored; included for compatibility) | 
This is a convenience function intended primarily to make it easy
to overplot a list of similar objects all at once using
matplot.  The elements are padded out to a length of N by
indexing them from 1:N; this works sensibly for vectors, but may
produce unexpected results if the (sub-) elements of your list are
some other kind of object.
a matrix
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.