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.
-----Original Message-----
From: Elan InP [mailto:elodie.gillain at gmail.com]
Sent: Thursday, October 17, 2013 9:59 PM
To: r-help at r-project.org
Subject: [R] crr question? in library(cmprsk)
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.crr(result1,cov1,X=cbind(1,one.z1,one.z2))
Error: could not find function "predict.crr"
[[alternative HTML version deleted]]
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used
for urgent or sensitive issues