render: Render a model to a document

renderR Documentation

Render a model to a document

Description

Render a model to a document

Usage

render(x, ...)

## S4 method for signature 'character'
render(x, project = NULL, ...)

## S4 method for signature 'mrgmod'
render(x, ...)

dorender(model, project, template = NULL, compile = TRUE, ...)

Arguments

x

model object or the model name

...

passed to rmarkdown::render

project

the directory containing the .cpp model file

model

model name

template

template document

compile

logical; if true, the model will be compiled to run

Examples

## Not run: 
mod <- mrgsolve::house()
mrgsolve:::render(mod)
mrgsolve:::render("irm2", modlib())

## End(Not run)


mrgsolve documentation built on Aug. 16, 2023, 5:07 p.m.

Related to render in mrgsolve...