inlineModel | R Documentation |
Save a string in a temporary file to be used as a model file
inlineModel(srtIn, filename = NULL)
srtIn |
(string) Model in string format, |
filename |
(string) name of the model file (by default the model is saved in a temporary file) |
Name of the model file
## Not run:
myModel <- inlineModel("
[LONGITUDINAL]
input = {A, k, c, a}
EQUATION:
t0 = 0
f_0 = A
ddt_f = -k*f/(c+f)
DEFINITION:
y = {distribution=normal, prediction=f, sd=a}
[INDIVIDUAL]
input = {k_pop, omega}
DEFINITION:
k = {distribution=lognormal, prediction=k_pop, sd=omega}
")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.