coords {shades} | R Documentation |
Retrieve the coordinates of a colour vector
Description
This function retrieves the coordinates of a colour vector's elements, within whatever space it is currently defined.
Usage
coords(x, ...)
Arguments
x |
An R object. |
... |
Additional arguments to methods. |
Value
A matrix giving colour coordinates in the relevant space, one colour per row. Columns are typically named.
Author(s)
Jon Clayden <code@clayden.org>
Examples
coords("red")
[Package shades version 1.4.0 Index]