rmrowfolder function

Remove rows in all elements of a folder

Remove rows in all elements of a folder

Remove some rows in all data frames of a folder.

rmrow.folder(object, name)

Arguments

  • object: object of class folder that is a list of data frames with the same column names.
  • name: character vector. The names of the rows to be removed in each data frame of the folder.

Returns

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

Author(s)

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

See Also

folder: object of class folder.

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

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

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

Examples

data(iris) iris.fold <- as.folder(iris, "Species") rmrow.folder(iris.fold, as.character(seq(1, 150, by = 2)))
  • Maintainer: Pierre Santagostini
  • License: GPL (>= 2)
  • Last published: 2024-11-22