getrow.folder {dad} | R Documentation |
Select rows in all elements of a folder
Description
Select rows in all data frames of a folder.
Usage
getrow.folder(object, name)
Arguments
object |
object of class |
name |
character vector. The names of the rows to be selected in each data frame of the folder. |
Value
A folder 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
.
Author(s)
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
See Also
folder
: object of class folder
.
rmrow.folder
: remove rows in all elements of a folder.
getcol.folder
: select rows in all elements of a folder.
rmcol.folder
: remove rows in all elements of a folder.
Examples
data(iris)
iris.fold <- as.folder(iris, "Species")
getrow.folder(iris.fold, c(1:5, 51:55, 101:105))
[Package dad version 4.1.2 Index]