code: Extract the code from a model

View source: R/modlib.R

codeR Documentation

Extract the code from a model

Description

This function is currently not exported, so be sure to call it with mrgsolve:::code(...).

Usage

code(x)

Arguments

x

a model object.

Value

A character vector of model code.

Examples

mod <- mrgsolve::house()
mrgsolve:::code(mod)

# Alternative
as.list(mod)$code


mrgsolve documentation built on Oct. 18, 2024, 5:12 p.m.

Related to code in mrgsolve...