powered by
nrow and ncol return the number of rows or columns of a Spectra object
nrow
ncol
Spectra
# S4 method for Spectra ncol(x)
A Spectra object
# NOT RUN { x <- spc.example_spectra() ncol(x) #501 nrow(x) #26 # }
Run the code above in your browser using DataLab