search for: adjto

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

Did you mean: addto
2007 Aug 27
2
validate (package Design): error message "subscript out of bounds"
...5,45,32,26,45,45,63,39,39,22,38,27,31,27,49,65,66,49,39, 21,51,49,55,63,19,26,50,21,24,34,65,33,55,33,36,53,48,25,54,58,60,34, 47,23,34,60,39,34,22,30,41,55,64,48,34,54)) frame.bc # preparing for a simple univariate Cox regression: dd.bc <- datadist(frame.bc[, c('bc1','age')], adjto.cat='first') options(datadist = 'dd.bc') # a univariate Cox regression: cph.bc <- cph(formula = Surv(time1,status1)~bc1, data = frame.bc, x=TRUE, y=TRUE, surv=TRUE) anova(cph.bc) cph.bc summary(cph.bc) # the validate command for the Cox model: val.cph.bc <- validate(cph.bc,...