ps_raster_to_df | R Documentation |
Convert raster to data.frame
ps_raster_to_df(x)
x |
A raster object. |
A data.frame object which can be plotted using: ggplot2::geom_point(data = x, aes(x = x, y = y, col = rgb(layer.1/255, layer.2/255, layer.3/255))).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.