Retrieve or set the organization of a colorSpec object.
1 2 3 4 5
a colorSpec R object
a valid organization:
x is a vector
representing a single spectrum. Compare this with
x is a matrix
and the spectra are stored in the columns.
x is a
with M+1 columns, where M is the number of spectra.
The wavelengths are stored in column 1, and the spectra in columns 2:(M+1).
This organization is good for printing to the console, and writing to files.
x is a
with N rows, where N is the number of spectra.
The spectra are stored in the last column, which is a
"model.matrix" with the name
The other columns preceding
spectra (if present) contain extra data associated with
the spectra; see
organization(x) returns a valid organization:
organization(x) <- value
x has more than 1 spectrum,
value equal to
'vector' is invalid and ignored.
organization(x) is equal to
'df.row' and also has
then changing the
organization silently discards the
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.