View source: R/descrip_summary_overloads.R
max.spectra | R Documentation |
max
Returns the maximum value in a spectra object
## S3 method for class 'spectra' max(..., na.rm = FALSE)
... |
spectra object |
na.rm |
boolean. remove NAs? Defaults to FALSE |
single numeric value
Jose Eduardo Meireles
library(spectrolab) spec = as_spectra(spec_matrix_example, name_idx = 1) max(spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.