random_AIMs_profile {genogeographer} | R Documentation |
Simulate a random AIMs profile
Description
Use the information from pops_to_DB
to simulate a profile from a random or given population.
The sampling is done with respect to the null hypothesis, such that the total count is adjusted accordingly.
For further details see Tvedebrink et al (2018), Section 3.1 (Simulations).
Usage
random_AIMs_profile(df, grouping = "pop", population = NULL,
n = FALSE, keep_pop = FALSE)
Arguments
df |
Database of reference profiles as returned by |
grouping |
Simualte from |
population |
The population to sample from. If NULL chosen at random. |
n |
Use numbers of samples as weights to choose the population randomly |
keep_pop |
Keep information on population |
Author(s)
Torben Tvedebrink tvede@math.aau.dk
[Package genogeographer version 0.1.19 Index]