get_eval_at: Get a list of x-coordinates to evaluate fit$simulate at

Description Usage Arguments Details Value

View source: R/plot.R

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

1
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.


mcp documentation built on Aug. 3, 2020, 5:07 p.m.