get_n_eff_cpp | R Documentation |
Computes n_eff
, the effective population size experienced by an
individual.
get_n_eff_cpp(z, competition_sd, brute_force_opt = "none")
z |
numeric vector, the trait values of all individuals in the community. |
competition_sd |
numeric |
brute_force_opt |
a string specifying which brute force option to use
to speed up the calculation of competition coefficients. Defaults to "none".
Other options are omp", for multithreading with OpenMP, "simd" for single
instruction, multiple data (SIMD) via the C++ library
|
n_eff
sums the competitive effects an individual receives from
every individual in the community, including the individual itself. It is
called effective population size because it is the size of the population
that is relevant for competition.
Hanno Hildenbrandt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.