formula_rhs {mmrm}R Documentation

Extract Right-Hand-Side (rhs) from Formula

Description

Extract Right-Hand-Side (rhs) from Formula

Usage

formula_rhs(f)

Arguments

f

(formula)
a formula.

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)

[Package mmrm version 0.3.11 Index]