get_empirical_population: Compute empirical population by imputing reponses and...

View source: R/get_empirical_population.R

get_empirical_populationR Documentation

Compute empirical population by imputing reponses and measured sizes using knn.

Description

Compute empirical population by imputing reponses and measured sizes using knn.

Usage

get_empirical_population(sample_indices, pop, y)

Arguments

sample_indices

Indices of sample.

pop

Population data frame to be sampled with 4 columns.

  1. Halton numbers

  2. X1-coordinate of population unit

  3. X2-coordinate of population unit

  4. Size measurement of population unit

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.