dot-beta_parm: Convert Beta Paramaterizations

.beta_parmR Documentation

Convert Beta Paramaterizations

Description

Convert between the paramaterizations of a beta distribution.

Usage

.beta_parm(b, to = "alpha.beta")

Arguments

b

vector A named vector specifying non-NULL values for 2 parameters. e.g. c(alpha = NA, beta = NA, mu = .6, theta = NA, phi = 1.6, sigma2 = NA) or just c(mu = .6, phi = 1.6)

to

Specification of desired parameters, options are one of "alpha.beta", "mu.phi", "mu.theta" or "mu.sigma2".

Value

vector A named vector with values for the parameters specified in the "to" argument of the input.

Author(s)

DiagTestKit-package


ABS-dev/DiagTestKit documentation built on Sept. 23, 2024, 9:37 a.m.