Learn R Programming

supernova (version 2.5.1)

frm_build: Build a formula from terms

Description

Build a formula from terms

Usage

frm_build(lhs, rhs, env = parent.frame())

Value

The right-hand side terms are joined with +. Then, the right-hand side is joined to the left and returned as a formula.

Arguments

lhs

The outcome term for the left-hand side.

rhs

The terms for the right-hand side.

env

The environment to assign to the formula (defaults to calling environment).

See Also

formula_extraction formula_expansion