transform.amelia {Amelia}R Documentation

Transform imputed datasets from Amelia objects

Description

Updates the imputed datasets from an amelia output with the specified transformations.

Usage

## S3 method for class 'amelia'
transform(`_data`, ...)

Arguments

_data

an object of class "amelia"; typically output from the function amelia.

...

further arguments of the form tag = value.

Details

The ... arugments to transform.amelia are expressions of the form tag = value, where tag is the variable that is being updated or created and value is an expression that is a function of the variables in the imputed datasets. For instance, if you wanted to create an interaction of two imputed variables, you could have one argument be intervar = var1 * var2. This would either update the current variable intervar in the imputed data or append a new variable called intervar to the imputed datasets.

Value

An object of class amelia with its imputations and missMatrix values updated according to the transformations. In addition, each of the calls to transform.amelia are stored in

See Also

transform


[Package Amelia version 1.8.2 Index]