| niche_suitability_cpp | R Documentation |
Evaluates the standardized multivariate-normal density
S(x) = \exp(-\frac12 (x-\mu)^\top \Sigma^{-1} (x-\mu)) for each
row of a column-major flat environmental buffer. Uses
RcppParallel's parallelFor over locations.
niche_suitability_cpp(
env_dat_vec,
env_dat_dims,
mu,
L_inv,
return_log = FALSE,
num_threads = 0L
)
env_dat_vec |
Numeric vector. Flat column-major buffer of length
|
env_dat_dims |
Integer vector |
mu |
Numeric vector of length |
L_inv |
Numeric matrix |
return_log |
Logical. If |
num_threads |
Integer. |
Numeric vector of length n_loc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.