gen.imp.resp: Obtain imputed continuous responses from ordinal responses

Description Usage Arguments Value Examples

Description

Given a dataset of ordinal values (e.g. survey responses), obtain continuous imputed responses based on quantiles of N(0,1), and using all other columns (similar to the MICE package).

Usage

1
gen.imp.resp(data, num.iter = 5)

Arguments

data

a data.frame containing ordinal variables (e.g. survey responses).

num.iter

a number specifying the number of times to iterate the imputation (defaults to 20)

Value

A data.frame containing the imputed responses.

Examples

1
2
3
imputed <- gen.imp.resp(multiis, num.iter = 1)

head(imputed)

rosiezou/440proj documentation built on May 12, 2019, 6:25 p.m.