Nothing
get_est_mi<-function( x , status , trans , imp_sets , data = data , cens.code = cens.code , model = c('Cox','FG') , r2 ){
t1 <- imp_sets[ , x ]
fitCI <- survfit( Surv( time = t1 , event = r2 , type = "mstate" ) ~ 1 )
w <- which( fitCI$states == trans )
pr <- fitCI$pstate[ , w ]
sd <- fitCI$std.err[ , w ]
t1 <- fitCI$time
CI <- list(time = t1 , est = pr , sd = sd )
return( CI )
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.