View source: R/optimal_sampling.R
optimal_sampling | R Documentation |
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.
optimal_sampling(N, phi)
N |
The total sample size (number of strata * number of individuals pre stratum) |
phi |
An estimate of the level of differentiation. |
A ggplot object with a plot of the variance in phi due to different sample sizes with a region of +/- 10 phi value
Rodney J. Dyer rjdyer@vcu.edu
N <- 400
Phi <- 0.25
optimal_sampling( N, Phi )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.