as.data.frame.foldert function

foldert to data frame

foldert to data frame

Builds a data frame from an object of class foldert.

## S3 method for class 'foldert' as.data.frame(x, row.names = NULL, optional = FALSE, ..., group.name = "time")

Arguments

  • x: object of class foldert with the same row names. An object of class foldert is a list of data frames with the same column names, each of them corresponding to a time of observation.

  • row.names, optional: for consistency with as.data.frame. as.data.frame.foldert does not take them into account.

  • ...: further arguments passed to or from other methods.

  • group.name: the name of the grouping variable. It is the name of the last column of the returned data frame.

    As the observations are indexed by time, the default value is group.name = "time".

Returns

as.data.frame.foldert returns a data frame.

Details

as.data.frame.foldert uses as.data.frame.folder.

Author(s)

Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard

See Also

foldert: object of class foldert. as.foldert.data.frame: build an object of class foldert from a data frame. as.foldert.array: build an object of class foldert from a 3d3d-array.

Examples

data(floribundity) ftflor <- foldert(floribundity, cols.select = "union", rows.select = "union") print(ftflor) dfflor <- as.data.frame(ftflor) summary(dfflor)
  • Maintainer: Pierre Santagostini
  • License: GPL (>= 2)
  • Last published: 2024-11-22