get_eval_at {mcp} | R Documentation |
Get a list of x-coordinates to evaluate fit$simulate at
Description
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.
Usage
get_eval_at(fit, facet_by)
Arguments
fit |
An mcpfit object. |
facet_by |
String. Name of a varying group. |
Details
This function makes a vector of x-values with large spacing in general, but finer resolution at change points.
Value
A vector of x-values to evaluate at.
[Package mcp version 0.3.4 Index]