appendmodel: Change left-hand side of formula

Description Usage Arguments Author(s) Examples

View source: R/appendmodel_function.R

Description

Prepends or appends to the right-hand-side of a formula

Usage

1
appendmodel(object, prepend = "", append = "")

Arguments

object

object containing formula of interest

prepend

character that will precede the model expression

append

character that will succede the model expression

Author(s)

Kim Rand

Examples

1
2
appendmodel(~ a + b, "exp(", ")")
appendmodel(z ~ a + b, " y + ")

intelligentaccident/xreg documentation built on Jan. 17, 2021, 7:38 a.m.