Learn R Programming

mrgsolve (version 0.8.12)

simargs: 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 lenght 1 naming a single arg to get

clear

logical indicating whether or not 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

Run this code
# NOT RUN {
mod <- mrgsolve:::house()
mod %>% Req(CP,RESP) %>% carry_out(evid,WT,FLAG) %>% simargs

# }

Run the code above in your browser using DataLab