S.Gh
S.Gh

Reputation: 1

smcure package error

I would like to perform a cure analysis, and when I run the code below:

pd <- smcure(Surv(FAILTIME,FAILCENS)~trt+Age1 , cureform =~trt+Age1 ,data=saba, model="ph",nboot=1000)

This error is reported:

Error in rep(1, n) : invalid 'times' argument

Upvotes: 0

Views: 196

Answers (1)

Gaurav
Gaurav

Reputation: 1587

This error is most likely due to an NA in your dataset.

Upvotes: 0

Related Questions