theta.k(x, n = NULL, k = NULL)
theta.k(x)
), or giving directly these two
quantities (theta.k(n, k)
). The argument x
can be either a factor or a vector. If it is a
factor, then it is taken to give the individual alleles in the
population. If it is a numeric vector, then its values are taken to be
the numbers of each allele in the population. If it is a non-numeric
vector, it is a coerced as a factor.
Both arguments n
and k
must be single numeric values.
theta.h
, theta.s