runSampDesign {asbio}R Documentation

Plots of random sampling designs

Description

Compares outcomes of simple random sampling, stratified random sampling and cluster sampling

Usage

runSampDesign(n = 20)

Arguments

n The number of samples to be randomly selected from a population of 400.

Details

Returns a plot comparing outcomes of random sampling, stratified random sampling and cluster sampling from a population of size 400. For startified random sampling the population is subdivided into four equally strata of size 100. and n/4 samples are taken within each strata. For cluster sampling the population is subdivided into four equally sized clusters and a census is taken from two clusters (regardless of specification of n).

Value

A plot is returned.

Author(s)

Ken Aho

Examples

runSampDesign(20)

[Package asbio version 0.1 Index]