ABfromModeKappa: ABfromModeKappa

Description Usage Arguments Value Author(s) Examples

View source: R/stats.R

Description

Beta distribution shape parameters recovered from mode and concentration:

Usage

1

Arguments

mode

numeric scalar in range (0,1)

kappa

numeric scalar in range (0,Inf)

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: ABfromModeKappa(mode = .4, kappa=10)

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