Simulate from a disclapmixfit
object.
# S3 method for disclapmixfit
simulate(object, nsim = 1L, seed = NULL, cluster = NULL, ...)
a disclapmixfit
object, usually from a result of
a call to disclapmix
.
number of haplotypes to generate.
not used
which cluster to simulate from (if `NULL`, the default, take a random according to the a priori probabilities)
not used
A matrix where the rows correspond to the simulated haplotypes.