Learn R Programming

specmine (version 1.0)

num_x_values: Get number of x values

Description

Get the number of x-axis values.

Usage

num_x_values(dataset)

Arguments

dataset
list representing the dataset from a metabolomics experiment.

Value

Returns an integer with the number of x-axis values.

Examples

Run this code
  ## Example of getting the number of x-axis values
  data(cassavaPPD)
  number.x.values = num_x_values(cassavaPPD)

Run the code above in your browser using DataLab