removeResponse: Remove the left hand side (response) from a formula

View source: R/helper-methods.R

removeResponseR Documentation

Remove the left hand side (response) from a formula

Description

The order of terms will be rearrange to suit R's liking for hierarchy but otherwise the function should be idempotent for

Usage

removeResponse(Formula, warn = TRUE)

Arguments

Formula

formula

warn

Issue a warning if a response variable is found?

Value

formula

Author(s)

Andrew


RGLab/MAST documentation built on Sept. 30, 2023, 1:08 p.m.