powered by
Remove data variables from the dataset.
remove_data_variables(dataset, variables.to.remove, by.index = FALSE)
list representing the dataset from a metabolomics experiment.
vector with the variables' names to remove.
if TRUE, the values of the variables.to.remove argument are indexes.
Returns the dataset with the specified data variables removed.
# NOT RUN { ## Example of removing data variables library(specmine.datasets) data(cachexia) dataset = remove_data_variables(cachexia, c("Creatine","Serine"), by.index = FALSE) # }
Run the code above in your browser using DataLab