#' @title \code{point_gamma} class
#' @description gammamix class that describes \deqn{g() = pi0 delta() + (1-pi0) gamma(shape, scale)}
#' @param pi0 A scalar specifying the weight on point mass at 0
#' @param shape A scalar specifying the shape of gamma
#' @param scale A scalar specifying the scale of gamma
#'
#' @export
point_gamma <- function(pi0, shape, scale) {
structure(data.frame(pi0 = pi0, shape = shape, scale = scale), class="point_gamma")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.