Description Usage Arguments Value Author(s) Examples
Convert a continuous variable to the corresponding levels of grey.
1 2 3 4 5 |
x |
A numeric vector. |
min |
The minimum grey level. |
max |
The maximum grey level. |
alpha |
The opacity. |
inverse |
Logical. By default, bigger is darker. If
|
sqrt |
Logical. Applies a square root transformation to get more progressive grey levels. |
A vector of colors of the same length as x
.
From Clement Calenge, modified by Mathieu Basille basille@ufl.edu
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.