ABfromMeanKappa: ABfromMeanKappa

Description Usage Arguments Value Author(s) Examples

View source: R/stats.R

Description

Beta distribution shape parameters recovered from mean and concentration:

Usage

1

Arguments

kappa

numeric scalar in range (0,Inf)

mode

numeric scalar in range (0,1)

Value

Named list with 2 elements: a = Beta shape parameter #1, b = Beta shape parameter #2

Author(s)

John Krushke, in Kruschke, J. K. (2015). Doing Bayesian Data Analysis, Second Edition: A Tutorial with R, JAGS, and Stan. Academic Press / Elsevier.

Examples

1
## Not run: ABfromMeanKappa(mean = .6, kappa = 10)

wjhopper/whoppeR documentation built on May 4, 2019, 7:33 a.m.