View source: R/get_segment_table.R
unpack_slope_term | R Documentation |
Returns a row for unpack_slope()
.
unpack_slope_term(term, i, last_slope, ttype = "")
term |
A character, e.g., "x", "I(x^2)", or "log(x)". |
i |
Segment number (integer) |
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! |
ttype |
The term type. One of "ct" (central tendency), "sigma" (variance), or "ar" (autoregressive) |
A "one-row" list describing a slope term.
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.