- n
The number of observations.
- ploidy
The ploidy of the species.
- model
What form should the prior take? See Details in flexdog
.
- allele_freq
If model = "hw"
, then this is the allele frequency of the population.
For any other model, this should be NULL
.
- od
If model = "bb"
, then this is the overdispersion parameter of the beta-binomial
distribution. See betabinom
for details. For any other model, this should be
NULL
.
- p1geno
Either the first parent's genotype if model = "f1"
,
or the only parent's
genotype if model = "s1"
.
For any other model, this should be NULL
.
- p2geno
The second parent's genotype if model = "f1"
.
For any other model, this should be NULL
.
- pivec
A vector of probabilities. If model = "ash"
, then this represents
the mixing proportions of the discrete uniforms. If
model = "flex"
, then element i
is the probability of genotype i - 1
.
For any other model, this should be NULL
.
- mu
If model = "norm"
, this is the mean of the normal.
For any other model, this should be NULL
.
- sigma
If model = "norm"
, this is the standard deviation of the normal.
For any other model, this should be NULL
.