Description Usage Arguments Value Author(s)

View source: R/get_segment_table.R

Makes A list of terms and applies unpack_slope_term() to each of them. Then builds the code for this segment's slope

1 | ```
unpack_slope(form, i, ttype, last_slope)
``` |

`form` |
A formula |

`i` |
Segment number (integer) |

`ttype` |
The term type. One of "ct" (central tendency), "sigma" (variance), or "ar" (autoregressive) |

`last_slope` |
The element in the slope column for this ttype in the previous segment. I.e., probably what this function returned last time it was called! |

A "one-row" list with code (char) and a tibble of slopes.

Jonas Kristoffer Lindeløv jonas@lindeloev.dk

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.