optimal_sampling: Estimate optimal sampling allocation

Description Usage Arguments Value Author(s) Examples

View source: R/optimal_sampling.R

Description

This function returns a graphical representation of optimal sampling allocations given an estimate of the total number of samples you are looking at genotyping and the amount of expected differentiation among strata.

Usage

1

Arguments

N

The total sample size (number of strata * number of individuals pre stratum)

phi

An estimate of the level of differentiation.

Value

A ggplot object with a plot of the variance in phi due to different sample sizes with a region of +/- 10 phi value

Author(s)

Rodney J. Dyer rjdyer@vcu.edu

Examples

1
2
3
N <- 400
Phi <- 0.25
optimal_sampling( N, Phi )

MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.