Hi, I'm using crrstep package to do stepwise covariate selection for the Fine & Gray competing risks regression model. However, I keep getting an error (please see below). Please help!!
> PHstep <- crrstep(years~1+var1+var2+var3+var4+var5,scope.min=~1,censorcmprsk, data=crisk, direction=c("forward"), crr.object = FALSE, trace = TRUE, steps = 100) crrstep(formula = years ~ 1 + var1+var2+var3+var4+var5, scope.min = ~1, etype = censorcmprsk, data = crisk, direction = c("forward"), crr.object = FALSE, trace = TRUE, steps = 100) *Error in crr(ftime, fstatus, cov1, variance = TRUE, ...) : unused argument(s) (variance = TRUE)* Thank you very much! [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org 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.