Existing {NCSampling} | R Documentation |
Pre-existing plot neighbours
Description
Determines the plots which are close, in the auxiliary space, to the pre-existing plots.
Usage
Existing(popfile, nrefs, desvars, draw.plot)
Arguments
popfile |
dataframe containg information on all plots in the population file. |
nrefs |
vector containing the number of reference plots in each stratum. |
desvars |
vector containing the names of the design variables. |
draw.plot |
logical variable - should a bar graph be drawn to show the number of neighbours for each pre-existing plot? |
Value
A list with components:-
Nx |
vector containing the number of neighbours to existing plots in each stratum. |
Ng |
vector containing the number of target plots in each stratum. |
popfile |
dataframe containing the original population file with neighbours to pre-existing plots separately identified. |
Author(s)
G Melville.
See Also
Examples
## Existing(popfile, nrefs, desvars, draw.plot=T)
[Package NCSampling version 1.0 Index]