Description Usage Arguments Value
Wrapper function to create, slice, and plot a Gaussian Kernel Raster
1 2 3 4 5 6 7 8 9 10 |
raster_in |
Raster*, overrides sigma and nrow below when provided. Default is NULL which then uses the parameters below to create a Raster. |
sigma |
numeric, sigma (or sd) of distribution - scaled to cell_size |
nrow |
numeric, number of rows/columns in RasterLayer |
shift_n |
numberic, shift in lat/long origin position |
cell_size |
numeric, cell size of RasterLayer |
title |
character, main title. If not provided, a default is used. |
normalize |
logical, whether or not to normalize values to sum to 1 |
dnorm_line |
logical, whether or not to add a normal distribution curve to plot. The curve will be scaled to the cell_size and sigma provided. |
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.