imputedTotals: Calculate the totals over an imputed dataset

Description Usage Arguments Value Note

Description

Calculate the totals over an imputed dataset

Usage

1
imputedTotals(data, imputations, variable, rhs)

Arguments

data

the orginal dataset with missing values

imputations

the multiple imputations generated by e.g. imputeINLA

variable

the name of the variable for which the imputations are calculated

rhs

the right hand side of the formula for the aggregation

Value

a dataset containing the totals for each imputations. The first few columns will contains the rhs variables.

Note

Deprecated function. Only relevant to run the code in the folder hpc and paper_simulation.


ThierryO/multimput documentation built on May 9, 2019, 4:42 p.m.