Nothing
#' Calculates the sum of squared errors of prediction
#' \code{one_sse} calculates the sum of squared errors of prediction for one
#' condition
#' @keywords internal
#' @export
one_sse <- function(d, groups, averages) {
if (length(groups) != 0) averages <- semi_join(averages, d, by = groups)
data.frame(sse = sum((averages$prob-d$ypred)^2))
}
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.