em.summary: Function to return the EM means and standard deviations using...

View source: R/missing_data_lm_functions.R

em.summaryR Documentation

Function to return the EM means and standard deviations using the norm package.

Description

Function to return the EM means and standard deviations using the norm package.

Usage

em.summary(data)

Arguments

data

The dataset for the analysis.

Value

Returns (1) the EM means and (2) the EM standard deviations for the dataset.

Examples

## Not run: 
x <- c(1,2,3,4,5,NA,NA,7,7,7,7)
y <- c(2.1,NA,2.1,1.8,2,2.2,4,NA,7,7,7)
temp_data <- as.data.frame(cbind(y, x))
em.summary(temp_data)

## End(Not run)

jbiesanz/fabs documentation built on July 15, 2022, 11:02 p.m.