Learn R Programming

multimedia (version 0.2.0)

sub_formula: Helper to Modify Formulas

Description

Helper to Modify Formulas

Usage

sub_formula(formula, yj)

Value

A new formula object with the LHS replaced by yj.

Arguments

formula

The original formula whose response we want to modify.

yj

The desired response term for the formula.