Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GammaDist

The Gamma distribution


Description

We provide convenient extensions of the [dpq]gamma functions, which allow the distribution to be specified in terms of its mean and standard deviation, instead of shape and rate/scale.

Usage

qgamma(
  p,
  shape,
  rate = 1,
  scale = 1/rate,
  lower.tail = TRUE,
  log.p = FALSE,
  mean,
  sd
)

dgamma(x, shape, rate = 1, scale = 1/rate, log = FALSE, mean, sd)

pgamma(
  q,
  shape,
  rate = 1,
  scale = 1/rate,
  lower.tail = TRUE,
  log.p = FALSE,
  mean,
  sd
)

Arguments

p

vector of probabilities

shape, rate, scale, log, lower.tail, log.p

see stats::GammaDist

mean, sd

mean and standard deviation, overriding shape and rate or scale if specified

x, q

vector of quantiles


multinma

Bayesian Network Meta-Analysis of Individual and Aggregate Data

v0.3.0
GPL-3
Authors
David M. Phillippo [aut, cre] (<https://orcid.org/0000-0003-2672-7841>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.