View source: R/get_segment_table.R
unpack_cp | R Documentation |
Takes a cp formula (as a string) and returns its properties
unpack_cp(form_cp, i)
form_cp |
Segment formula as string. |
i |
The segment number (integer) |
A one-row tibble with columns:
cp_int
: bool. Whether there is an intercept change in the change point.
cp_in_rel
: bool. Is this intercept change relative?
cp_ran_int
: bool or NA. Is there a random intercept on the change point?
cp_group_col
: char or NA. Which column in data define the random intercept?
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.