Learn R Programming

shades (version 1.4.0)

space: Retrieve the space of a colour vector

Description

This function retrieves the colour space in which its argument is currently defined.

Usage

space(x, ...)

Arguments

x

An R object.

...

Additional arguments to methods.

Value

A string naming a colour space.

Examples

Run this code
# NOT RUN {
space("red")
# }

Run the code above in your browser using DataLab