Nothing
propCI_wald <-
function(x, n, l){
p <- x / n
if (x == 0){
lw <- 0
up <- p - qnorm(l[3]) * sqrt(p * (1 - p) / n)
} else if (x == n){
lw <- p + qnorm(l[3]) * sqrt(p * (1 - p) / n)
up <- 1
} else{
lw <- p + qnorm(l[3]) * sqrt(p * (1 - p) / n)
up <- p - qnorm(l[3]) * sqrt(p * (1 - p) / n)
}
return(c(lw, up))
}
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.