impute_w_knn: Calculate the mean of the nearest neighbors.

View source: R/get_empirical_population.R

impute_w_knnR Documentation

Calculate the mean of the nearest neighbors.

Description

Calculate the mean of the nearest neighbors.

Usage

impute_w_knn(knn_row, y)

Arguments

knn_row

A row of knn matrix composed of indices and distances.

y

Sample response values.

Value

A summary data frame of the estimator.


biometryhub/RSS_package documentation built on Feb. 18, 2025, 11:56 p.m.