nnmiss {dprep} | R Documentation

## Auxiliary function for knn imputation

### Description

This function is required to perform k-nn imputation

### Usage

    nnmiss(x, xmiss, ismiss, xnom, K = 1)

### Arguments

`x` | submatrix of complete rows from original matrix
`xmiss` | a row with a missing value
`ismiss` | vector that indicates whether a value in xmiss is missing or not
`xnom` | vector with indexes of nominal variables
`K` | the number of neighbors

### Author(s)

Caroline Rodriguez

### See Also

`ce.impute`

[Package dprep version 1.0 Index]