R: Simulate a sequence of parameters

wf_sweep {mrgsolve} | R 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)

[Package mrgsolve version 0.11.1 Index]