get_simulate | R Documentation |
Turn formula_str into a proper R function
get_simulate(formula_str, pars, nsegments, family)
formula_str |
string. Returned by |
pars |
List of user-provided parameters, in the format of fit$pars. |
nsegments |
Positive integer. Number of segments, typically |
family |
One of |
A string with R code for the fit$simulate() function corresponding to the model.
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.