Learn R Programming

mmrm (version 0.3.14)

formula_rhs: Extract Right-Hand-Side (rhs) from Formula

Description

Extract Right-Hand-Side (rhs) from Formula

Usage

formula_rhs(f)

Value

A formula without a response, derived from the right-hand-side of the formula, f.

formula_rhs(a ~ b + c)
formula_rhs(~ b + c)

Arguments

f

(formula)
a formula.