Description Usage Arguments Value Examples
Remove data variables from the dataset.
1 2 | remove_data_variables(dataset, variables.to.remove,
by.index = FALSE)
|
dataset |
list representing the dataset from a metabolomics experiment. |
variables.to.remove |
vector with the variables' names to remove. |
by.index |
if TRUE, the values of the variables.to.remove argument are indexes. |
Returns the dataset with the specified data variables removed.
1 2 3 4 5 | ## Example of removing data variables
library(specmine.datasets)
data(cachexia)
dataset = remove_data_variables(cachexia, c("Creatine","Serine"),
by.index = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.