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

View source: R/gmDataFrameStack.R

as.list.DataFrameStackR Documentation

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 class 'DataFrameStack'
as.list(x, ...)

Arguments

x

input DataFrameStack()

...

generic consistency

Value

the data recasted as list of data.frames

Examples

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)

gmGeostats documentation built on April 18, 2023, 5:08 p.m.