random_AIMs_profile: Simulate a random AIMs profile

Description Usage Arguments Author(s)

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

1
2
random_AIMs_profile(df, grouping = "pop", population = NULL,
  n = FALSE, keep_pop = FALSE)

Arguments

df

Database of reference profiles as returned by pops_to_DB

grouping

Simualte from pop (default) or meta.

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


genogeographer documentation built on Sept. 27, 2019, 5:03 p.m.