checkSolution: checkSolution

Description Usage Arguments Value See Also

Description

Check whether any of the state variables are significantly negative and emit suitable warnings.

Usage

1
checkSolution(output, numSpecies, numStages, numStrains, ntol)

Arguments

output

Model output from popModel

numSpecies

Number of species

numStages

Number of life stages

numStrains

Number of strains for each species

ntol

Negative tolerance value (i.e. a warning is produced if variable<-(ntol*max(variable))). The larger ntol is, the larger the negative values that are tolerated.

Value

Nothing if there are no problems with the output, otherwise warnings are generated

See Also

popModel



Search within the stagePop package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.