R/estimators.R
sub_formula.Rd
Helper to Modify Formulas
sub_formula(formula, yj)
The original formula whose response we want to modify.
The desired response term for the formula.
A new formula object with the LHS replaced by yj.