niImputations: Create or test for Object of Class 'niImputations'

View source: R/niImputations.R

niImputationsR Documentation

Create or test for Object of Class niImputations

Description

niImputations assembles arguments and returns an S3 object of class niImputations.
is.niImputations tests if a candidate object is of class niImputations.

Usage

niImputations(identifiers = NULL, imputations = NULL)

is.niImputations(x)

Arguments

identifiers

data.frame

imputations

numeric matrix of imputed indicator observations

x

object to be tested (is.niImputations).

Details

Objects of class niImputations contain imputed values for missing values in a set of indicator observations.

Class niImputations objects are generated by the function imputeData.

Value

niImputations returns an S3 object, a list of class niImputations.

is.niImputations returns TRUE if the argument is of class niImputations

Author(s)

Bård Pedersen

See Also

Functions imputeData and imputeDiagnostics.
The vignette objectsInNIcalc gives a more detailed description of niImputations lists.


NINAnor/NIcalc documentation built on Oct. 26, 2023, 9:37 a.m.