Learn R Programming

specmine (version 3.1.6)

set_value_label: Set value label

Description

Set a new value label for the dataset.

Usage

set_value_label(dataset, new.val.label)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

new.val.label

string with the new value label.

Value

Returns the dataset with the updated value label.

Examples

Run this code
# NOT RUN {
  ## Example of setting a new value label to the dataset
  library(specmine.datasets)
  data(cachexia)
  cachexia = set_value_label(cachexia, "new value label")
# }

Run the code above in your browser using DataLab