Learn R Programming

rERR (version 0.1)

f_parse_formula: Parse formula (internal use)

Description

Return list with the terms and elements of the formula

Usage

f_parse_formula(formula)

Arguments

formula

Surv(entry_time,exit_time,outcome)~loglin(loglin_var1,..,loglin_varn)+ lin(lin_var1,..,lin_varm)+strata(strat_var1,...strat_varp)

Value

list of terms in the formula

Examples

Run this code
# NOT RUN {
 f_parse_formula(formula)
# }

Run the code above in your browser using DataLab