Dear all,
     I try to reapt the procedure from 
http://virginierondeau.com/BiostatisticalConsulting/example_shared.html
> library(frailtypack)
######################################
### Semi-parametric Shared frailty model ###
######################################
> data(readmission)
> fit1<-frailtyPenal(Surv(t.start,t.stop,event)~as.factor(sex)+as.factor(dukes)+
> as.factor(charlson)+cluster(id),data=readmission, 
Frailty=TRUE,
n.knots=6,kappa1=5000,recurrentAG=TRUE,cross.validation=TRUE,hazard="Splines")
The R versions is R-3.3.3, the results showed:
Error in frailtyPenal(Surv(t.start, t.stop, event) ~ as.factor(sex) +  : 
  It's no use parameters(Frailty = TRUE, kappa1 = 5000)

I confuse why ? Anyone can explain this?

Your friend
Leo




--
View this message in context: 
http://r.789695.n4.nabble.com/Error-in-the-example-tp4730721.html
Sent from the datatable-help mailing list archive at Nabble.com.
_______________________________________________
datatable-help mailing list
datatable-help@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to