View source: R/simulate_whale.R
simulate_whale | R Documentation |
A simple function that creates a spatial grid of whale densities for use in simulating a shipping impacts assessment.
simulate_whale(grids, d_mean = 0.01, d_cv = 0.5, iterations = 1000)
grids |
The spatial grid to use as the basis for the density surface,
as produced by |
d_mean |
The mean density (animals per square km) |
d_cv |
The co-efficient of variation (CV) in density. |
iterations |
Number of bootstrap iterations to produce. |
The grids
object, with new columns D
and iteration
indicating an iteration number.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.