get_segment_table: Build a table describing a list of segments
Description
Used internally for most mcp functions.
Usage
get_segment_table(model, data = NULL, family = gaussian(), par_x = NULL)
Arguments
model
A list of formulas - one for each segment. The first formula
has the format response ~ predictors while the following formulas
have the format response ~ changepoint ~ predictors. The response
and change points can be omitted (changepoint ~ predictors assumes same
response. ~ predictors assumes an intercept-only change point). The
following can be modeled: