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

View source: R/utils-nse.R

formula_rhsR 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)

mmrm documentation built on Oct. 7, 2024, 1:14 a.m.