OutcomeName: Find the name of the outcome variable from a formula

View source: R/properties.R

OutcomeNameR Documentation

Find the name of the outcome variable from a formula

Description

Find the name of the outcome variable from a formula

Usage

OutcomeName(formula, data = NULL)

Arguments

formula

A formula or a terms object.

data

A data.frame containing the variables in the formula. Currently, ignored.

Value

Character string giving the response variable name, or NULL if no response is present in formula.


NumbersInternational/flipU documentation built on March 2, 2024, 10:55 a.m.