Use output of growth.flexbin to graph observed growth and predictions. With conf > 0, random draws from posterior parameters are used to make predictions and overlay with gray lines, and mean predicted value at each x is calculated.
The option whichpred determines whether to graph the fitted values based on the median parameters of the Gibbs sampler, or the mean fitted value of all the steps in the Gibbs sampler.
1 2 3 4 5 |
fit |
A fitted model. |
add |
Logical. Whether to add elements such as points or line to an existing graph. if TRUE, there must be an appropriate existing graph, otherwise, a new graph is drawn. |
export |
File format to export to. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.