Learn R Programming

dad (version 4.1.6)

rmcol.foldert: Remove cols in all elements of a foldert

Description

Remove some columns in all data frames of a foldert.

Usage

rmcol.foldert(object, name)

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]], except those given by 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 removed in each data frame of the foldert.

Author

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

See Also

foldert: object of class foldert.

getcol.foldert: select columns in all elements of a foldert.

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

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

Examples

Run this code
data(floribundity)

ft0 <- foldert(floribundity, cols.select = "union", rows.select = "union")
ft0
rmcol.foldert(ft0, c("area"))

Run the code above in your browser using DataLab