Re: [R] R error using Survr function with gcmrec

2010-11-15 Thread Emily C
I've solved the condition problem, but have come across another one with the gcmrec function and was wondering if anyone could point me in the right direction again? After running the code below, I get this error message: Error in gcmrec(Survr(id, time, event) ~ var, data = dataOK, s = 1096) : N

Re: [R] R error using Survr function with gcmrec

2010-11-11 Thread Emily C
Sorry for the lack of context - I found a forum ( http://r.789695.n4.nabble.com/R-help-f789696.html) that I thought was easier to navigate and was using it for the first time. Hit the reply button, but forgot that the mailing list recipients would not see previous message in the thread. I've pasted

Re: [R] R error using Survr function with gcmrec

2010-11-11 Thread David Winsemius
On Nov 11, 2010, at 2:50 PM, David Winsemius wrote: On Nov 11, 2010, at 2:09 PM, Emily wrote: I'm having the same problem (???: from a three year-old posting for which you didn't copy any context.) and was wondering whether you ever found a solution? It gives me the error "Error in S

Re: [R] R error using Survr function with gcmrec

2010-11-11 Thread David Winsemius
On Nov 11, 2010, at 2:09 PM, Emily wrote: I'm having the same problem (???: from a three year-old posting for which you didn't copy any context.) and was wondering whether you ever found a solution? It gives me the error "Error in Survr(id, time, event) : Data doesn't match. Every sub

Re: [R] R error using Survr function with gcmrec

2010-11-11 Thread Emily
I'm having the same problem and was wondering whether you ever found a solution? It gives me the error "Error in Survr(id, time, event) : Data doesn't match. Every subject must have a censored time" even though all my subjects are right-censored, and to be sure, I've even used the addCenTime funct

[R] R error using Survr function with gcmrec

2008-06-17 Thread Caroline King
Would someone be able to help with this question? I'm using the Gcmrec, Survrec, and Design packages to do a power analysis on simulated data. I'm receiving an error after using the Survr function that all data must have a censoring time even after using the gcmrec function: newdata<-add

[R] R error using Survr function with gcmrec

2008-06-17 Thread Caroline King
Would someone be able to help with this question? I'm using the Gcmrec, Survrec, and Design packages to do a power analysis on simulated data. I'm receiving an error after using the Survr function that all data must have a censoring time even after using the gcmrec function: newdata<-add