I'm learning how to use R.
I'm running a competing risk analysis with the cmprsk package.
library(cmprsk)
dati<-read.csv(choose.files())
x<-crr(dati$failure.time,dati$failure.type,dati$group,failcode = 1, cencode = 0)
x.p<-predict.crr(x,dati$group)
plot.predict.crr(x.p,lty=c(1,3),main="Title2",xlab="Days",ylab="Cumulative Incidence")
when I plot the results, the two lines look the same! How can I make one line dotted? lty does not seems to work
thank you!