calc_error | R Documentation |
Calculates error in number of species and colonists, number of species-through-time, number of endemics-through-time and non-endemics-through-time.
calc_error(sim_1, sim_2, sim_pars, distance_method)
sim_1 |
A list of simulation output from
|
sim_2 |
A list of simulation output from
|
sim_pars |
A list of simulation parameters. |
distance_method |
From the nLTT package. How the difference between the two nLTTs is summed:
|
A list with five error metrics:
$spec_nltt_error
Numeric vector with the nltt error between the two simulations.
$num_spec_error
Numeric vector with the difference in the number of species at the end of the simulation between the two simulations.
$num_col_error
Numeric vector with the difference in the number of colonists at the end of the simulation between the two simulations.
$endemic_nltt_error
Numeric vector with the nltt error of the endemic species between the two simulations.
$nonendemic_nltt_error
Numeric vector with the nltt error of the non-endemic species between the two simulations.
Joshua W. Lambert, Pedro Santos Neves, Shu Xie
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.