R: Access or clear arguments for calls to mrgsim

simargs {mrgsolve} | R Documentation

## Access or clear arguments for calls to mrgsim

### Description

Access or clear arguments for calls to mrgsim

### Usage

    simargs(x, which = NULL, clear = FALSE, ...)

### Arguments

`x` | model object
`which` | character with length 1 naming a single arg to get
`clear` | logical indicating whether or not to clear `args` from the model object
`...` | passed along

### Value

If `clear` is `TRUE`, the argument list is cleared and the model object is returned. Otherwise, the argument list is returned.

### Examples

    mod <- mrgsolve::house()
    mod %>% Req(CP,RESP) %>% carry_out(evid,WT,FLAG) %>% simargs

[Package mrgsolve version 0.11.1 Index]