Description Usage Arguments Value Author(s) See Also Examples
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).
nrow
yields the number of rows in x@data
, i.e. the number of
spectra in the hyperSpec
object.
nwl
returns the number of columns in x@data$spc
, i.e. the
length of each spectrum.
dim
returns all three values in a vector.
length
is a synonym for nrow
. It is supplied so that
seq_along (x)
returns a sequence to index each spectrum.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
a |
nrow
, ncol
, nwl
, and length
, return an
integer
.
dim
returns a vector of length 3.
C. Beleites
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.