wf_sweep: Simulate a sequence of parameters

View source: R/workflows.R

wf_sweepR Documentation

Simulate a sequence of parameters

Description

This function is experimental and may change or go away at any time without notice.

Usage

wf_sweep(mod, ..., n = 10, cv = 30, nsd = 2)

Arguments

mod

a model object

...

unquoted parameter names

n

number of values to simulate

cv

coefficient of variation; used to determine the minimum and maximum values for the sweep

nsd

the number of standard deviations over which to sweep

Value

A mrgsims object with a character columns named .name indicating the parameter name and .value indicating the sweep value.

Examples

mod <- mrgsolve::house() %>% zero_re()

mod %>% 
  ev(amt = 100) %>% 
  wf_sweep(CL, VC) %>% 
  plot(CP~time|.name)


mrgsolve documentation built on Oct. 18, 2024, 5:12 p.m.

Related to wf_sweep in mrgsolve...