powered by
max Returns the maximum value in a spectra object
max
# S3 method for spectra max(..., na.rm = FALSE)
single numeric value
spectra object
boolean. remove NAs? Defaults to FALSE
Jose Eduardo Meireles
library(spectrolab) spec = as_spectra(spec_matrix_example, name_idx = 1) max(spec)
Run the code above in your browser using DataLab