Existing: Pre-existing plot neighbours

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Existing.R

Description

Determines the plots which are close, in the auxiliary space, to the pre-existing plots.

Usage

1
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

NC.sample.

Examples

1
## Existing(popfile, nrefs, desvars, draw.plot=T) 

NCSampling documentation built on May 1, 2019, 10:15 p.m.