Description Usage Arguments Details Value
Useful for plotting rasters with ggplot2
1 | tidy_raster(x, n_pixels = 10000)
|
x |
|
n_pixels |
Number of cells to sample |
Code borrowed shamelessly from the rasterVis package.
A tidy tibble
of raster values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.