#' Expit, i.e., the inverse of logit = log(x / (1-x))
#'
#' @param x numeric, possibly a vector
#'
#' @return expit(x)
#' @export
#'
#' @examples expit(-5)
expit <- function(x) {
1/(1 + exp(-x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.