Simulate from a disclapmixfit object.

# S3 method for disclapmixfit
simulate(object, nsim = 1L, seed = NULL, cluster = NULL, ...)

Arguments

object

a disclapmixfit object, usually from a result of a call to disclapmix.

nsim

number of haplotypes to generate.

seed

not used

cluster

which cluster to simulate from (if `NULL`, the default, take a random according to the a priori probabilities)

...

not used

Value

A matrix where the rows correspond to the simulated haplotypes.