getcolfoldert: Select columns in all elements of a foldert

getcol.foldertR Documentation

Select columns in all elements of a foldert

Description

Select columns in all data frames of a foldert.

Usage

getcol.foldert(object, name)

Arguments

object

object of class foldert that is a list of data frames with the same column names, each of them corresponding to a time of observation.

name

character vector. The names of the columns to be selected in each data frame of the foldert.

Value

A foldert with the same number of elements as object. Its k^{th} element is a data frame, and its columns are the columns of object[[k]] given by name.

Author(s)

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

See Also

foldert: object of class foldert.

rmcol.foldert: remove columns in all elements of a foldert.

getrow.foldert: select rows in all elements of a foldert.

rmrow.foldert: remove rows in all elements of a foldert.

Examples

data(floribundity)

ft0 <- foldert(floribundity, cols.select = "union")
getcol.foldert(ft0, c("rose", "variety"))

dad documentation built on Aug. 30, 2023, 5:06 p.m.