Learn R Programming

mi (version 1.1)

multilevel_missing_data.frame: Class "multilevel_missing_data.frame"

Description

This class inherits from the missing_data.frame-class but is customized for the situation where the sample has a multilevel structure.

Arguments

Objects from the Class

Objects can be created by calls of the form new("multilevel_missing_data.frame", ...). However, its users almost always will pass a data.frame to the missing_data.frame function and specify the subclass and groups arguments.

Slots

The multilevel_missing_data.frame class inherits from the missing_data.frame-class and has two additional slots

groups

Object of class character indicating which variables define the multilevel structure

mdf_list

Object of class mdf_list whose elements contain a missing_data.frame for each group. This slot is filled automatically by the initialize method.

Details

The fit_model-methods for the multilevel_missing_data.frame class will, by default, utilize multilevel modeling techniques that shrink the estimated parameters for each group toward their global means.

See Also

missing_data.frame

Examples

Run this code
# NOT RUN {
## Write example
# }

Run the code above in your browser using DataLab