# AUX MODE
# Private aux function aux_mode
# Description: returns mode of binomial exp.
# Input: trials (numeric value), prob (numeric value)
# Returns: mode
aux_mode <- function(trials, prob){
return(floor(trials*prob+prob))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.