cor.yai {yaImpute}R Documentation

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,...)

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)

Details

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

Value

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

Author(s)

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

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


[Package yaImpute version 1.0-34 Index]