kud_habitat | R Documentation |
This function defines a ‘habitat’ grid for kernel smoothing (e.g., via kud_around_coastline
).
kud_habitat(map, mask = map, mask_inside = FALSE, plot = TRUE, ...)
map |
A |
mask , mask_inside |
Mask options passed to |
plot , ... |
A logical input that defines whether or not to plot the habitat grid, alongside any additional arguments passed to |
The function returns a SpatialPixelsDataFrame
object that defines ‘habitat’ (1) versus ‘non-habitat’ (0).
Edward Lavender
kud_around_coastline
kud_habitat(map = dat_gebco, mask_inside = FALSE)
kud_habitat(map = dat_gebco, mask = dat_coast, mask_inside = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.