rmcolfoldert function

Remove cols in all elements of a foldert

Remove cols in all elements of a foldert

Remove some columns in all data frames of a foldert.

rmcol.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 removed in each data frame of the foldert.

Returns

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

Author(s)

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

data(floribundity) ft0 <- foldert(floribundity, cols.select = "union", rows.select = "union") ft0 rmcol.foldert(ft0, c("area"))
  • Maintainer: Pierre Santagostini
  • License: GPL (>= 2)
  • Last published: 2024-11-22