rmcol.folder | R Documentation |
Remove some columns in all data frames of a folder.
rmcol.folder(object, name)
object |
object of class |
name |
character vector. The names of the columns to be removed in each data frame of the folder. |
A folder 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
.
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
folder
: object of class folder
.
getcol.folder
: select columns in all elements of a folder.
getrow.folder
: select rows in all elements of a folder.
rmrow.folder
: remove rows in all elements of a folder.
data(iris)
iris.fold <- as.folder(iris, "Species")
rmcol.folder(iris.fold, c("Petal.Length", "Petal.Width"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.