sens_range: Sensitivity analysis at evenly spaced values

Description Usage Arguments Examples

Description

This is always a univariate (one parameter at a time) sensitivity analysis.

Usage

1
2
3
sens_range(mod, ..., .n = 5, .factor = NULL)

sens_range_factor(mod, ..., pars = names(param(mod)), .n = 5, .factor = 2)

Arguments

mod

the model object

...

named numeric vectors of length 2, specifying the minimum and maximum value for that parameter

.n

number of evenly spaced parameter values to simulate

.factor

used to create a range for sensitivity analysis based on the value of the selected parameters; the upper end of the range is .factor times the parameter value and the lower end of the range is the parameter value divided by .factor

pars

a character vector of parameter names on which to do sensitivity analysis

Examples

1
2
3
4
mod <- mrgsolve:::house() %>% ev(amt = 100)

mod %>%
  sens_range(CL = c(0.5,1.5), VC = c(20,30), .n = 5)

mrgsolve/mrgsolvetk documentation built on May 11, 2019, 4:19 p.m.