`getY` <-
function(mf){
y<-model.response(mf)
if(!is.factor(y))
return(y)
if(length(unique(y))==2)
return(as.numeric(y)-1)
y
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.