jthaman / ciTools

An R Package for Quick Uncertainty Intervals
GNU General Public License v3.0
106 stars 9 forks source link

misssingness #59

Open antoine4ucsd opened 5 months ago

antoine4ucsd commented 5 months ago

Hello I am new with ciTools but very interested in using it for post hoc analyses for my survreg models I have a very naive question: is there a way to omit NA ?

fit<-  survreg(Surv(left, right, type="interval2") ~ drug,  dist="weibull", data=mydata)
add_quantile(mydata, fit, p = 0.75, name = c("quant", "lwr", "upr"))

error

Error in add_quantile.survreg
 Check df for missingness

thank you!