betaRootB: Find shape2 (beta) Parameter of Beta Distribution for Given...

Description Usage Arguments Value Examples

Description

Given a user-specified mean value, betaRootB uses uniroot to find the shape2 (beta) parameter of the distribution that will give that mean. Parameter shape1 may also be given as user input, but has a default value of 1.

Usage

1
betaRootB(mean, alpha = 1)

Arguments

mean

the mean of the beta distribution

alpha

= 1 alpha parameter of beta distribution

Value

numeric value

Examples

1
betaRootB(mean = 0.05, alpha = 1)

smitdave/MASH documentation built on May 30, 2019, 5:02 a.m.