parseq_fct: Generate a sequence of parameters

Description Usage Arguments Details See Also Examples

View source: R/parseq.R

Description

Generate a sequence of parameters

Usage

1
2
3
parseq_fct(mod, ..., .n = 5, .factor = 2, .geo = TRUE, .digits = NULL)

parseq_factor(mod, ..., .n = 5, .factor = 2, .geo = TRUE, .digits = NULL)

Arguments

mod

a model object

...

unquoted parameter names

.n

number of parameters to simulate between the minimum and maximum parameter values

.factor

a numeric vector used to divide and multiply the parameter value thus generating the minimum and maximum parameter values, respectively, for the sequence; if .factor is length 1 it will be recycled to length 2; the first value is used to divide the nominal value generating the minimum value; the second value is used to multiply the nominal value generating the maximum value

.geo

if TRUE a geometric sequence is generated (evenly spaced from min to max on log scale); otherwise, the sequence is evenly spaced on Cartesian scale

.digits

if numeric, the number of significant digits in the parameter sensitivity values are set using signif()

Details

See Also

parseq_cv(), parseq_range(), parseq_manual()

Examples

1
2
3
4
5
mod <- mrgsolve::house()

mod %>%
  parseq_fct(CL,VC) %>% 
  sens_each()

mrgsim.sa documentation built on Nov. 30, 2020, 5:08 p.m.