Learn R Programming

yaImpute (version 1.0-34.1)

cor.yai: Correlation between observed and imputed

Description

Computes the correlation between observed and imputed values for each observation that has both.

Usage

cor.yai (object,vars=NULL,...)

Value

A data frame with the row names as vars and the column as cor.

Arguments

object

an object created by yai or impute.yai.

vars

a list of variables names you want to include, if NULL all available variables are included.

...

passed to called methods (not currently used)

Author

Nicholas L. Crookston ncrookston.fs@gmail.com
Andrew O. Finley finleya@msu.edu

Details

The correlations are computed using cor.yai. For data imputation, such correlations are likely not appropriate (Stage and Crookston 2007).

References

Stage, A.R.; Crookston, N.L. (2007). Partitioning error components for accuracy-assessment of near neighbor methods of imputation. For. Sci. 53(1):62-72. https://academic.oup.com/forestscience/article/53/1/62/4604364

See Also

yai, impute.yai, rmsd.yai