Description Usage Arguments Details Value
A function for converting a Raster file into a df for use in a ggplot
1 | ConvertRasterForGGPlot(raster, sample_size, na.rm)
|
raster |
Raster file |
sample_size |
integer, raster sample size. Default is 10000. |
na.rm |
logical, remove NA values. Default is TRUE. |
most of script is from rasterVis package
dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.