Nothing
#' @export
errors.SM <-
function(n,a,b,p0,p1){
data=sample.space.SM(n,a,b)
probs.SM=function(obj,p){obj$count*p^obj$S*(1-p)^(obj$N-obj$S)}
list(type1=sum(probs.SM(data,p0)*data$decision),
type2=sum(probs.SM(data,p1)*(1-data$decision)))
}
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.