Learn R Programming

specmine (version 2.0.3)

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
# NOT RUN {
  ## 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