| opts_raster | R Documentation |
These options will be used on objects of class 'raster'.
opts_raster(constructor = c("as.raster", "next"), ...)
constructor |
String. Name of the function used to construct the object, see Details section. |
... |
Additional options used by user defined constructors through the |
Depending on constructor, we construct the object as follows:
"as.raster" (default): We build the object using as.raster() on a
character matrix of colors.
"next" : Use the constructor for the next supported class. Call .class2()
on the object to see in which order the methods will be tried. This will usually
be equivalent to opts_matrix("matrix"), note that the colors of a raster
are stored row by row.
An object of class <constructive_options/constructive_options_raster>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.