View source: R/get_segment_table.R
unpack_tildes | R Documentation |
Takes a formula and returns a string representation of y, cp, and rhs
unpack_tildes(segment, i)
segment |
A formula |
i |
The segment number (integer) |
A one-row tibble with columns:
form
: String. The full formula for this segment.
form_y
: String. The expression for y (without tilde)
form_cp
: String. The formula for the change point
form_rhs
: String. The formula for the right-hand side
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.