Description Usage Arguments Value Examples
View source: R/x3p_mask_legend.R
Retrieve color definitions and annotations from the mask. If available, results in a named vector of colors.
x3p object with a mask
named vector of colors, names show annotations. In case no annotations exist NULL is returned.
x3p <- x3p_read(system.file("sample-land.x3p", package="x3ptools")) x3p_mask_legend(x3p) # annotations and color hex definitions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.