Learn R Programming

BayesLN (version 0.1.2)

inf_sum: Summation SMNG density function

Description

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

Usage

inf_sum(x, lambda, delta, gamma, beta, mu, rel_tol)

Arguments