View source: R/get_segment_table.R
unpack_rhs | R Documentation |
This is a pretty big function. It includes unpacking sigma(), ar(), etc.
unpack_rhs(form_rhs, i, family, data, last_segment)
form_rhs |
A character representation of a formula |
i |
The segment number (integer) |
family |
An mcpfamily object returned by |
data |
A data.frame or tibble |
last_segment |
The last row in the segment table, made in |
A one-row tibble with three columns for each of ct
. sigma
, ar
, and ma
:
_int
: NA or a one-row tibble describing the intercept.
_slope
: NA or a tibble with a row for each slope term.
_code
: NA or a char with the JAGS/R code to implement the slope.
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.