R: Render a model to a document

render {mrgsolve} | R 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)

[Package mrgsolve version 1.0.4 Index]