gmGeostats (version 0.10-6)

as.list.DataFrameStack: Convert a stacked data frame into a list of data.frames

Description

Recast a DataFrameStack() into a list of data.frames

Usage

# S3 method for DataFrameStack
as.list(x, ...)

Arguments

...

generic consistency

Value

the data recasted as list of data.frames

Examples

Run this code
# NOT RUN {
ar = array(1:30, dim = c(5,2,3), dimnames=list(obs=1:5, vars=c("A","B"), rep=1:3))
dfs = DataFrameStack(ar, stackDim="rep")
as.list(dfs)
# }

Run the code above in your browser using DataLab