estim_beta_params: 'estim_beta_params' estimates the beta parameters from a mean...

View source: R/misc_functions.R

estim_beta_paramsR Documentation

'estim_beta_params' estimates the beta parameters from a mean and a variance given

Description

'estim_beta_params' estimates the beta parameters from a mean and a variance given

Usage

estim_beta_params(mu, var)

Arguments

mu

An integer between 0 and 1

var

A positive integer

Value

A list made of the beta and alpha parameters calculated, called shape1 and shape2

Examples

estim_beta_params(0.6, 5) #6.0006e-05   4.0004e-05

ChristK/CKutils documentation built on April 11, 2025, 10:11 p.m.