Learn R Programming

specmine (version 3.1.6)

remove_metadata_variables: Remove metadata's variables

Description

Remove metadata's variables from the dataset

Usage

remove_metadata_variables(dataset, variables.to.remove)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

variables.to.remove

vector with the metadata's variables to remove.

Value

Returns the dataset with the selected metadata's variables removed.

Examples

Run this code
# NOT RUN {
  ## Example of removing metadata's variables
  library(specmine.datasets)
  data(propolis)
  dataset = remove_metadata_variables(propolis, c("seasons"))
# }

Run the code above in your browser using DataLab