Nothing
#' Probability density function for gamma distribution
#' @export pdf_gamma2
#' @param x x
#' @param shape shape parameter
#' @param scale scale parameter
#k > 0 shape
#θ > 0 scale
#r = shape
#a = scale
pdf_gamma2 <- function(x, shape, scale) {
k <- shape
theta <- scale
part1 <- (1 / (gamma(k)*(theta^k)))
part2 <- x^(k-1)
part3 <- exp(-x/theta)
return(part1 * part2 * part3)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.