Learn R Programming

DiscreteDists (version 1.0.0)

obtaining_lambda: Auxiliar function to obtain lambda from E(X)

Description

This function implements the procedure given in page 150.

Usage

obtaining_lambda(media, gamma)

Value

returns the value of lambda to ensure the mean and gamma.

Arguments

media

the value for the mean or E(X).

gamma

the value for the gamma parameter.