as.list,mrgmod-method {mrgsolve}R Documentation

Coerce a model object to list

Description

Coerce a model object to list

Usage

## S4 method for signature 'mrgmod'
as.list(x, deep = FALSE, ...)

Arguments

x

a model object.

deep

if TRUE, extra information is returned in the output list (see Details).

...

not used.

Details

If deep is TRUE, then the values for trans, advan, and mindt are returned as well as a summary of internal model functions (with a call to mrgsolve:::funset()).

Value

A named list containing formatted contents from x.

Slots

Examples

mod <- mrgsolve::house()
l <- as.list(mod)


[Package mrgsolve version 1.5.2 Index]