estpabin <- function(vec) {
vec <- round(vec)
m <- length(vec)
freq <- table(vec)
freq <- as.numeric(freq/m)
return(freq)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.