View source: R/descrip_summary_overloads.R
dim.spectra | R Documentation |
dim
returns a vector with number of samples and bands (bands)
## S3 method for class 'spectra' dim(x)
x |
spectra object |
tuple of integers: c("n_samples", "n_bands")
Jose Eduardo Meireles
library(spectrolab) spec = as_spectra(spec_matrix_example, name_idx = 1) dim(spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.