MCARcheck: Are missing values in two vectors correlated?

Description Usage Arguments Details Value Note Author(s)

View source: R/missingness.R

Description

Return the GK test

Usage

1
MCARcheck(x, y)

Arguments

x

a vector of any class that contains NA values

y

a vector of any class that contains NA values

Details

This function forces x and y to factors of missing and non-missing elements and then performs a GK test on those factors to determine if they are correlated, to what degree, and if this is statistically significant.

Value

the proportion of x that are NA values

Note

Yadda yadda yadda

Author(s)

Jared E. Knowles


jknowles/datasynthR documentation built on May 19, 2019, 11:42 a.m.