Nothing
.testnull <-
function(object, Prev, dat){
if(object$deviance == object$null.deviance){
if(Prev < 0.5) pred <- rep(0, nrow(dat))
if(Prev >= 0.5) pred <- rep(1, nrow(dat))
}
else pred <- predict(object, dat, type="response")
return(pred)
}
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.