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 Aug. 22, 2025, 9:12 a.m.

Related to code in mrgsolve...