Learn R Programming

dad (version 4.1.6)

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

Description

Select rows in all data frames of a foldert.

Usage

getrow.foldert(object, name)

Value

A foldert with the same number of elements as object. Its \(k^{th}\) element is a data frame, and its rows are the rows of object[[k]] 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 rows to be selected 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.

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

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

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

Examples

Run this code
data(floribundity)

ft0 <- foldert(floribundity, cols.select = "union", rows.select = "union")
getrow.foldert(ft0, c("16", "51"))

Run the code above in your browser using DataLab