powered by
Spectra
nrow and ncol return the number of rows or columns present in a Spectra object
nrow
ncol
# S4 method for Spectra nrow(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