Solves two problems: if setting the number of points too high, the function becomes slow. If setting it too low, the posterior at large intercept- changes at change points look discrete, because they are evaluated at very few x in that interval.
An mcpfit object.
String. Name of a varying group.
This function makes a vector of x-values with large spacing in general, but finer resolution at change points.
A vector of x-values to evaluate at.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.