Retrieve or set the quantity of a colorSpec object.
1 2 3 4 5 6
a colorSpec R object
There are 4 valid
types, which are further divided into 14 valid
All of these are strings:
'power' (radiometric), or
For more explanation and examples of all these see
colorSpec-guide.pdf in the doc directory.
Go to the main index page and look for
User guides, package vignettes and other documentation.
quantity returns the quantity of
type returns the type of
x, which depends only on the
quantity is intended to represent a physical quantity,
the units are left arbitrary in most cases.
which are dimensionless.
quantity does not change the underlying numbers.
For example, changing
power does not do numerical conversion.
For this conversion, see
linearize for conversion from
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.