Description Usage Arguments Details Value
Calculate fit between the simulated flock size distribution to the observed flock size distribution based as 1 minus the least squares difference.
1 | CalcFlockSizeFit(sim, obs, var, measure)
|
sim |
tibble A vector of flock sizes from the simulation |
obs |
tibble A tibble with a columns identifying the species and a column with each flock observation from the simulation. |
var |
character Name of the varible to compare. Must be identical in the both sim and obs. |
measure |
character Either LS (least sq.) or KS (Kolmogorov-Smirnov) |
The fit is measured on the proportions of the flock sizes falling into each bin of 10 The fit is in both cases measured over the entire season.
numeric The calculated fit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.