combine.formulae: Combine two formulas in hierlm-format

Description Usage Arguments Value Examples

Description

Return the left and right side of a new combined formula. Left formula must be a standard formula. Right formula may take the forms described in hierlm().

Usage

1
combine.formulae(formula1, formula2, sep = "")

Arguments

formula1

an lm-style formula

formula2

an additional formula or hierlm term

sep

a paste separator for creating hyper terms

Value

Augmented formula

Examples

1
combine.formulae(combine.formulae(combine.formulae(y ~ a + b, "b - c"), y ~ c + d), "c : d - .")

jrising/hierlm documentation built on May 31, 2019, 8:08 a.m.