unpack_rhs: Unpack right-hand side

Description Usage Arguments Value Author(s)

View source: R/get_segment_table.R

Description

This is a pretty big function. It includes unpacking sigma(), ar(), etc.

Usage

1
unpack_rhs(form_rhs, i, family, data, last_segment)

Arguments

form_rhs

A character representation of a formula

i

The segment number (integer)

family

An mcpfamily object returned by mcp_family().

data

A data.frame or tibble

last_segment

The last row in the segment table, made in get_segment_table()

Value

A one-row tibble with three columns for each of ct. sigma, ar, and ma:

Author(s)

Jonas Kristoffer Lindeløv jonas@lindeloev.dk


mcp documentation built on Aug. 3, 2020, 5:07 p.m.