Learn R Programming

specmine (version 3.1.6)

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
  library(specmine.datasets)
  data(propolis)
  number.x.values = num_x_values(propolis)
# }

Run the code above in your browser using DataLab