univariate: Univariate formula special term

View source: R/coxph.R

univariateR Documentation

Univariate formula special term

Description

[Stable]

The special term univariate indicate that the model should be fitted individually for every variable included in univariate.

Usage

univariate(x)

Arguments

x

(character)
a vector of variable names separated by commas.

Details

If provided alongside with pairwise specification, the model y ~ ARM + univariate(SEX, AGE, RACE) lead to the study and comparison of the models

  • y ~ ARM

  • y ~ ARM + SEX

  • y ~ ARM + AGE

  • y ~ ARM + RACE

Value

When used within a model formula, produces univariate models for each variable provided.


tern documentation built on June 22, 2024, 10:25 a.m.