NA_DISTRIBUTION {convdistr}R Documentation

Factory for a NA distribution object

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

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

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

[Package convdistr version 1.6.2 Index]