powered by
Recast a DataFrameStack() into a named array.
DataFrameStack()
# S3 method for DataFrameStack as.array(x, ...)
the data recasted as an array with appropriate names.
input DataFrameStack()
generic consistency
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)
Run the code above in your browser using DataLab