NA_DISTRIBUTION: Factory for a NA distribution object

Description Usage Arguments Value Author(s) Examples

Description

Returns an NA distribution object that always return NA_real_ This is useful to handle NA. By default only one dimension rvar is produced, but if several names are provided more columns will be added to the return matrix

Usage

1
new_NA(p_dimnames = "rvar")

Arguments

p_dimnames

A character that represents the the names of the dimensions. By default only one dimension with name rvar

Value

An object of class DISTRIBUTION, NA

Author(s)

John J. Aponte

Examples

1
2
myDistr <- new_NA(p_dimnames = "rvar")
myDistr$rfunc(10)

convdistr documentation built on April 20, 2021, 9:06 a.m.