sub_formula: Helper to Modify Formulas

View source: R/estimators.R

sub_formulaR Documentation

Helper to Modify Formulas

Description

Helper to Modify Formulas

Usage

sub_formula(formula, yj)

Arguments

formula

The original formula whose response we want to modify.

yj

The desired response term for the formula.

Value

A new formula object with the LHS replaced by yj.


multimedia documentation built on Sept. 30, 2024, 9:28 a.m.