Re: [R] Looping in Matrix

2013-06-24 Thread David Winsemius
On Jun 24, 2013, at 12:13 AM, Fazli Raziq wrote: > Hello all, > > I want to construct "Two way Matrix". The Algorithm is like: > > 1) Data of time with censoring or events > 2) Predictor variables (genes) > 3) Resample original data in step 1 and 2 by WR > 4) Apply Coxph Model to resample d

[R] Looping in Matrix

2013-06-24 Thread Fazli Raziq
Hello all, I want to construct "Two way Matrix". The Algorithm is like: 1)  Data of time with censoring or events 2)  Predictor variables (genes) 3)  Resample original data in step 1 and 2 by WR 4)  Apply Coxph Model to resample data. (Apply Surv function to each Predictor variable, individually