Learn R Programming

mrgsolve (version 0.8.9)

simargs: Access or clear arguments for calls to mrgsim.

Description

Access or clear arguments for calls to mrgsim.

Usage

simargs(x, ...)

# S3 method for mrgmod simargs(x, clear = FALSE, ...)

Arguments

x

model object

...

passed along

clear

logical indicating whether or not clear args from the model object

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