NC.select {NCSampling} | R Documentation |
Nearest Centroid (NC) Plot Selection
Description
Select the reference plots closest, in the auxiliary space, to the target plot centroids. Not intended to be called directly.
Usage
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
Examples
## NC.select(popfile, nrefs, desvars, centroids)
[Package NCSampling version 1.0 Index]