parseFormula: Parse formula and return response variable.

View source: R/helperfuns.R

parseFormulaR Documentation

Parse formula and return response variable.

Description

Parse formula and return response variable.

Usage

parseFormula(formula, data, env = parent.frame())

Arguments

formula

Object of class formula describing the model.

data

optional data frame containing. variables specified in the formula.

Value

A character string. The name of the response variable


pcoxtime documentation built on May 13, 2022, 1:05 a.m.