lmImpute: Locally Weighted Linear Imputation

Description Usage Arguments Examples

View source: R/lmImpute.R

Description

Fill missing values in a column by running a locally weighted least squares regression against the row number. Good for large data (large number of records)

Usage

1

Arguments

x

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

...

additional parameters passed to locfit

Examples

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

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