The Number of Rows (Spectra), Columns, and Data Points per Spectrum of an hyperSpec Object)
ncol
returns the number of columns in x@data
. I.e. the number
of columns with additional information to each spectrum (e.g. "x", "y",
...) + 1 (for column spc
containing the spectra).
## S4 method for signature 'hyperSpec' ncol(x) ## S4 method for signature 'hyperSpec' nrow(x) nwl(x) ## S4 method for signature 'hyperSpec' dim(x) ## S4 method for signature 'hyperSpec' length(x)
x |
a |
nrow
, ncol
, nwl
, and length
, return an
integer
.
dim
returns a vector of length 3.
C. Beleites
ncol (chondro) nrow (chondro) nwl (chondro) dim (chondro) length (chondro)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.