[R] help

masumeh akhgar akhgar.masumeh at gmail.com
Fri May 17 20:55:58 CEST 2013


hi all
this command used tt function for all variables.
How can i define a different function for each variable?
 > exCox.all<-coxph(Surv(SURVT,STATUS) ~
RX+LOGWBC+SEX+tt(RX)+tt(LOGWBC)+tt(SEX),
data=rem.data,tt=function(x,t,...) log(t)*x))
thank you



More information about the R-help mailing list