IPMdistance | R Documentation |
This function takes IPM parameters, generates the IPM, generates the st/age distribution for each IPM, and reports back the distance between the reference IPM and the true IPM. Requires that the stable-st/age distribution be defined in the prior step
IPMdistance(IPM.pre, observed.stage.dist, evaluate.params, i)
IPM.pre |
IPM parameter dataframe with NA in parameter values that are unknowns |
observed.stage.dist |
Dataframe of IPM parameters to be solved (cols = params, rows = samples/particles) |
evaluate.params |
Parameters to evaluate in the parameter slots in the IPM (IPM.pre) |
i |
sample/particle to be evaluated. This is the index that gets looped through with an apply function. |
Distance between the st/age distribution generated by the parameters and the reference distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.