Data imputation and smoothing using hexagonal nearest neighbor.
HnnImpute(data, dist.hnn, dist.k = NULL, mu = 0, sigma = 1)
A data matrix with features as rows and observations as columns.
A hexagonal nearest neighbor distance matrix.
The maximum distance used to calculate the weight. Default is NULL
and all neighbor weights are calculated.
The mean of Gaussian filter, default is 0.
The standard deviation of Gaussian filter, default is 1.
Imputed data.