Learn R Programming

pcoxtime (version 1.0.4)

parseFormula: 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