unpack_tildes {mcp} | R Documentation |
Takes a formula and returns a string representation of y, cp, and rhs
Description
Takes a formula and returns a string representation of y, cp, and rhs
Usage
unpack_tildes(segment, i)
Arguments
segment |
A formula |
i |
The segment number (integer) |
Value
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
Author(s)
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
[Package mcp version 0.3.4 Index]