Dear R users,
I am trying to fit a Cox model such as:

Surv(time,event) ~ X1+X1:X2

or 
Surv(time,event) ~ X1*X2 -X2, 

This code is working with coxph but not with cph (nor with psm), and the error 
message is:

Error in if (!length(fname) || !any(fname == zname)) { : 
        missing value where TRUE/FALSE is required

Any idea about the cause of the problem and how to manage it within the Design 
library?

Thanks a lot for your help.

Rosalba

Dr. Rosalba Miceli
Unità di Statistica Medica e Biometria
Fondazione IRCCS Istituto Nazionale Tumori
Via G. Venezian, 1
20133 Milan (Italy)
Tel:              +39 2 23903198 / 23902456
Fax:             +39 2 23902095
E-Mail:        [EMAIL PROTECTED]
<www.istitutotumori.mi.it/biometria>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to