powered by
Render a model to a document
render(x, ...)# S4 method for character render(x, project = NULL, ...)# S4 method for mrgmod render(x, ...)dorender(model, project, template = NULL, compile = TRUE, ...)
# S4 method for character render(x, project = NULL, ...)
# S4 method for mrgmod render(x, ...)
dorender(model, project, template = NULL, compile = TRUE, ...)
model object or the model name
passed to rmarkdown::render
rmarkdown::render
the directory containing the .cpp model file
.cpp
model name
template document
logical; if true, the model will be compiled to run
# NOT RUN { mod <- mrgsolve::house() mrgsolve:::render(mod) mrgsolve:::render("irm2", modlib()) # } # NOT RUN { # }
Run the code above in your browser using DataLab