nnmiss {dprep} | R Documentation |
This function is required to perform k-nn imputation
nnmiss(x, xmiss, ismiss, xnom, K = 1)
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 |
Caroline Rodriguez