cv.meanImpute: CV for meanImpute

Description Usage Arguments Examples

View source: R/meanImpute.R

Description

Cross Validation for mean Imputation Artificially erase some data and run meanImpute to compute the RMSE on the subset of x for which data was artificially erased.

Usage

1

Arguments

x

a data frame or matrix where each row represents a different record

Examples

1
2
3
4
x = matrix(rnorm(100),10,10)
  x.missing = x > 1
  x[x.missing] = NA
  cv.meanImpute(x)

jeffwong/imputation documentation built on May 19, 2019, 4:02 a.m.