lsa: Perform local sensitivity analysis

Description Usage Arguments Value Examples

View source: R/lsa.R

Description

Perform local sensitivity analysis

Usage

1
2
3
lsa(mod, par, var, fun = .lsa_fun, eps = 1e-08, ...)

lsa_plot(x, ...)

Arguments

mod

a mrgsolve model object

par

parameter names as character vector or comma-separated string

var

output names (compartment or capture) as character vector or comma-separated string

fun

generating simulated for sensitivity analysis (see details)

eps

parameter change value for sensitivity analysis

...

passed to plot.lsa()

x

output from lsa()

Value

A tibble with class lsa.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
mod <- mrgsolve::house(delta=0.1)

par <- "CL,VC,KA"

var <- "CP"

dose <- ev(amt = 100)

fun <- function(mod, ...) mrgsolve::mrgsim_e(mod, dose, output="df")

out <- lsa(mod, par, var, fun)

head(out)

lsa_plot(out)

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

Related to lsa in mrgsim.sa...