Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

unpack_tildes

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


mcp

Regression with Multiple Change Points

v0.3.0
GPL-2
Authors
Jonas Kristoffer Lindeløv [aut, cre] (<https://orcid.org/0000-0003-4565-0595>)
Initial release
2020-07-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.