Displaying 1 result from an estimated 1 matches for "somemod".
2008 Dec 04
1
Formula parsing and updating
Hi all,
I can't come over a problem with formula. Suppose I have a coxmod model
with the following formula:
> somemod$formula
Surv(lebzeit, tot == 1) ~ sex + (alter >= 65) + diff3k + zelltyp_k_c +
q_nuc_3k + kar_k80_g80 + stadium
and I want to drop the stadium explanatory variable from the model with
> update(somemod, ". ~ . - stadium")
I get the following messages:
Fehler in coxph(formula...