Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


specmine (version 3.1.6)

num_samples: Get number of samples

Description

Get the number of samples from a dataset.

Usage

num_samples(dataset)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

Value

Returns an integer with the number of samples in the dataset.

Examples

Run this code
# NOT RUN {
  ## Example of getting the number of samples
  library(specmine.datasets)
  data(cachexia)
  number.of.samples = num_samples(cachexia)
# }

Run the code above in your browser using DataLab