distanceSSLogN | R Documentation |
Calculates the sum squared difference between log(N) in current and previous
state. This function can be used in projectToSteady()
to decide when
sufficient convergence to steady state has been achieved.
distanceSSLogN(params, current, previous)
params |
MizerParams |
current |
A named list with entries |
previous |
A named list with entries |
The sum of squares of the difference in the logs of the (nonzero)
fish abundances n:
sum((log(current$n) - log(previous$n))^2)
Other distance functions:
distanceMaxRelRDI()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.