Learn R Programming

NCSampling (version 1.0)

Check.pop: Check population file

Description

Carries out a range of checks on the population file to detect the most commonly encountered errors. Provides a barchart showing the population structure.

Usage

Check.pop(popfile, desvars)

Arguments

popfile

dataframe containing information for all plots in the population.

desvars

vector containing the names of the design variables.

Value

Reports on any errors found and produces a barchart.

See Also

NC.sample.

Examples

Run this code
## Check.pop(popfile, desvars) 

Run the code above in your browser using DataLab