createPredProb = function(variable, data) {
return(stats::pnorm(q = as.numeric(
Matrix::sparse.model.matrix(variable$formulaRHS, data = data) %*% variable$beta
)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.