gammaDistHist: Histogram of gamma distribution.

Usage Arguments Details Value Author(s)

Usage

1
2
gammaDistHist(x = seq(0, 0.7, by = 0.01), df1 = 6, df2 = 25, mult = 20,
  aspect = 2/5, stack = TRUE)

Arguments

x

'x' vector argument to dgamma

df1

'shape' argument to dgamma

df2

'rate' argument to dgamma

mult

multiplier used to convert density to counts

aspect

aspect ratio of plots; defaults to 2/5

stack

stack plots or no; defaults to FALSE (side-by-side plots)

Details

Histogram of gamma distribution and its reverse. TODO: use geom_histogram() instead of geom_bar() for consistency with other functions TODO: label with (mean, median, mode)

Value

Used for side effect of creating a plot.

Author(s)

Dave Braze davebraze@gmail.com


davebraze/FDB1 documentation built on May 14, 2019, 8:59 p.m.