search for: survchoice

Displaying 1 result from an estimated 1 matches for "survchoice".

2006 Feb 02
1
error message in cox regression cph()
...t I'd like to predict the outcome on another dataset and coxph() does not allow for interaction terms... I hope anyone can help me here. Underneath is the code I used for my data, if it's of any use... Thanks, cheers Roel Roel May NINA, Norway modeldata <- as.data.frame(modeldata) survchoice<-Surv(2-modeldata$USED,is.element(modeldata$USED,1)) d <- datadist(modeldata$ID,modeldata$ASP_NW,modeldata$ALT,modeldata$SLOPE,modeldata$PLACEMENT,modeldata$DTL,modeldata$TRACK,modeldata$PRIVATE,modeldata$BUSH,modeldata$ROCK,modeldata$GRASS,modeldata$WATER,modeldata$RUGGED,modeldata$CABIN,da...