View source: R/gmDataFrameStack.R
as.array.DataFrameStack | R Documentation |
Recast a DataFrameStack()
into a named array.
## S3 method for class 'DataFrameStack'
as.array(x, ...)
x |
input |
... |
generic consistency |
the data recasted as an array with appropriate names.
ll = lapply(1:3, function(i) as.data.frame(matrix(1:10+(i-1)*10, ncol=2)))
dfs = DataFrameStack(ll, stackDimName="rep")
as.array(dfs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.