Learn R Programming

capm (version 0.14.0)

SetRanges: Parameter ranges for global sensitivity analysis

Description

Define the minimum and maximum values for parameters whose global sensitivities are to be assessed with CalculateGlobalSens or sensRange functions.

Usage

SetRanges(pars = NULL, range = 0.1)

Arguments

pars

the same pars vector used in one of the following functions: SolveSI or SolveIASA.

range

scale factor to define the minimum and maximum for each parameter. The default is 0.1, which set the minimum and maximum as 10 percent lesser and greater than the pars values.

Value

data.frame with the complete set of parameter ranges.

References

Soetaert K and Petzoldt T (2010). Inverse modelling, sensitivity and monte carlo analysis in R using package FME. Journal of Statistical Software, 33(3), pp. 1-28.

Reichert P and Kfinsch HR (2001). Practical identifiability analysis of large environmental simulation models. Water Resources Research, 37(4), pp. 1015-1030.

Baquero, O. S., Marconcin, S., Rocha, A., & Garcia, R. D. C. M. (2018). Companion animal demography and population management in Pinhais, Brazil. Preventive Veterinary Medicine.

http://oswaldosantos.github.io/capm

See Also

sensRange and SolveSI.

Examples

Run this code
# NOT RUN {
## IASA model

## Parameters and intial conditions.
data(dogs)
dogs_iasa <- GetDataIASA(dogs,
                         destination.label = "Pinhais",
                         total.estimate = 50444)

## Set ranges 10 % greater and lesser than the
## point estimates.
rg_solve_iasa <- SetRanges(pars = dogs_iasa$pars)

# }

Run the code above in your browser using DataLab