values_per_peak: Values per peak

Description Usage Arguments Value Examples

Description

Gets the number of values on each peak.

Usage

1
values_per_peak(samples.df)

Arguments

samples.df

data frame with the samples' peaks.

Value

Returns a vector with the number of values for each peak.

Examples

1
2
3
4
  ## Example of getting the number of values for each peak
  library(specmine.datasets)
  data(propolis)
  num.peaks = values_per_peak(propolis$data)

specmine documentation built on Sept. 21, 2021, 5:06 p.m.