with.milist Evaluate an expression in the form of a statistical test procedure across a list of multiply imputed datasets

# S3 method for milist
with(data, expr = NULL, ...)

Arguments

data

data that is used to evaluate the expression in, an objects of class milist after a call to function df2milist, list2milist or mids2milist. For 'df2milist' the original dataset (normally indicated as dataset 0) must be exluded and the imputed datasets must be distinguished by an imputation variable, specified under impvar and starting by 1.

expr

expression to evaluate.

...

Not required.

Value

The value of the evaluated expression with class mistats

'Multiply Imputed Statistical Analysis'.

Author

Martijn Heymans, 2021