[datatable-help] Error in the example

shuangling 214140739 at qq.com
Tue Mar 28 10:37:54 CEST 2017


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.


More information about the datatable-help mailing list