Nothing
#'@export
predict.DStree <- function(object,data,...){
fitr<-object
class(fitr)<-"rpart"
pred <- predict(fitr,data,type="matrix")
col<-ncol(pred)/2
return(list(MedSurv=predict(fitr,data,type="vector"),
Haz=pred[,1:col],Surv=pred[,(col+1):(2*col)]))
}
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.