[R] lognormal frailty in frailtypack

2014-05-14 Thread Elan InP
Hi everyone I am attempting to estimate a model with a frailty effect distributed as a lognormal variable.I am using the following code: frailtyPenal(formula, data, ..., RandDist = "LogN") I get the following error message: Error in frailtyPenal(Surv(,) ~ + , : unused argument(s) (RandDist

Re: [R] crr question‏ in library(cmprsk)

2013-10-18 Thread Elan InP
On 10/18/2013 9:10 AM, Berend Hasselman wrote: > On 18-10-2013, at 14:06, Elan InP wrote: > >> Hi all >> >> I do not understand why I am getting the following error message. I am >> showing all my code this time. Can >> anybody help me with this? Thanks i

Re: [R] crr question‏ in library(cmprsk)

2013-10-18 Thread Elan InP
ot; On 10/18/2013 7:32 AM, Andrews, Chris wrote: I don't get an error message. However, I had to make up fstatus and all the rest because your example is not reproducible. Please provide the list with more information and you'll likely get a more helpful answer from someone. -Or

[R] crr question‏ in library(cmprsk)

2013-10-17 Thread Elan InP
Hi all I do not understand why I am getting the following error message. Can anybody help me with this? Thanks in advance. install.packages("cmprsk") library(cmprsk) result1 <-crr(ftime, fstatus, cov1, failcode=1, cencode=0 ) one.pout1 = predict(result1,cov1,X=cbind(1,one.z1,one.z2)) predict.cr