make.palette | R Documentation |
(Internal) Make palette of a graphic parameter.
make.palette(pal, x, ...)
## Default S3 method:
make.palette(pal, x, ...)
## S3 method for class ''function''
make.palette(pal, x, ...)
pal |
a graphic parameter making function or character vector. |
x |
a vector of values that the parameter is made based on it. |
... |
other parameters passed to the graphic parameter making function. |
If x
is NULL, a non-named vector of the graphic parameter of
length 1.
Otherwise, a named vector of graphic parameters with unique values in
x
for the name of it.
make.palette(default)
: Default S3 method, intended to be used for character vector.
make.palette(`function`)
: S3 method for function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.