#' calculate a lognormal median
#'
#' @param n number of samples
#'
#' @return
#' @export
#'
#' @importFrom magrittr %>%
lognormal_median <- function(n) {
rnorm(n) %>%
exp %>%
median
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.