Nothing
predPoint <- function(object, Xnew, model) {
if(model=="MAP") {
beta <- object$beta.map
} else if (model=="WAM") {
beta <- object$beta.wam
} else {
cat("model must be \"MAP\" or \"WAM\".")
}
y.pred <- beta[1] + Xnew %*% beta[-1]
return(y.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.