univariate {tern} | R Documentation |
Univariate formula special term
Description
The special term univariate
indicate that the model should be fitted individually for
every variable included in univariate.
Usage
univariate(x)
Arguments
x |
( |
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.
[Package tern version 0.9.5 Index]