calc_beta_params: Calculate the shape parameters (alpha and beta) for a Beta...

View source: R/utilities.R

calc_beta_paramsR Documentation

Calculate the shape parameters (alpha and beta) for a Beta distribution given the mean and standard deviation

Description

Calculate the shape parameters (alpha and beta) for a Beta distribution given the mean and standard deviation

Usage

calc_beta_params(mu, cv)

Arguments

mu

Mean of the distribution

cv

Coefficient of variation of the distribution

Value

A vector of two values, alpha and beta


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.