knitr::opts_chunk$set(collapse = TRUE, comment = "#>")

bdist

Travis Build Status Coverage Status

This is a package of distributions I have found useful for Bayesian analysis. Distributions include:

All distributions include density, quantile, cdf, and generation functions, and all are unit tested.

Installation

library(devtools)
install_github('kuperov/bdist')

Example

Plot a double generalized Pareto distribution:

  library(bdist)
  gdp.density <- function(x) dgdp(x, xi = 1, alpha = 2)
  plot(gdp.density, from = -5, to = 5, col = 'blue',
       main = expression("Double Generalized Pareto distribution:" ~
                           xi == 1~alpha == 2))


kuperov/acfunc documentation built on May 6, 2019, 10:50 p.m.