Learn R Programming

specmine (version 1.0)

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
  ## Example of setting a new value label to the dataset
  data(cachexia)
  cachexia = set_value_label(cachexia, "new value label")

Run the code above in your browser using DataLab