NC.select: Nearest Centroid (NC) Plot Selection

Description Usage Arguments Value Author(s) See Also Examples

View source: R/NC.select.R

Description

Select the reference plots closest, in the auxiliary space, to the target plot centroids. Not intended to be called directly.

Usage

1
NC.select(popfile, nrefs, desvars, centroids)

Arguments

popfile

dataframe containing information on all plots in the stratum.

nrefs

vector containing the number of reference plots in the stratum.

desvars

vector containing the names of the design variables.

centroids

dataframe containing the centroids for the stratum.

Value

A list with components:-

refs

dataframe containing reference plots

exist

dataframe containing pre-existing plots

targs

dataframe containing target plots

Author(s)

G. Melville

See Also

NC.sample.

Examples

1
## NC.select(popfile, nrefs, desvars, centroids) 

NCSampling documentation built on June 27, 2017, 9:01 a.m.