isBadNum {cPseudoMaRg}R Documentation

checks if a log-density evaluation is not a valid number

Description

checks if a log-density evaluation is not a valid number

Usage

isBadNum(num)

Arguments

num

evaluation of a log-density

Value

TRUE or FALSE

Examples

isBadNum(NaN)

[Package cPseudoMaRg version 1.0.1 Index]