Points and densities along a beta distribution
Usage
betaDensCurve(shape1, shape2, pmin = 0, pmax = 1, n = 1000)
Arguments
- shape1
Shape parameter passed to dbeta
.
- shape2
Shape parameter passed to dbeta
.
- pmin
Minimum value for density sampling.
- pmax
Maximum value for density sampling.
- n
Number of points to sample on the curve.
Value
A dataframe with columns for beta variate p and its probability density.