Learn R Programming

BayesLN (version 0.1.2)

inf_sum_MGF: Summation SMNG moment generating function

Description

Function that adds terms to the infinite sum of the SMNG moment generating function until the relative error reaches the requested threshold fixed by rel_tol.

Usage

inf_sum_MGF(r, lambda, delta, gamma, beta, rel_tol)

Arguments