Learn R Programming

disclapmix (version 1.7.5)

simulate.disclapmixfit: Simulate from a disclapmixfit

Description

Simulate from a disclapmixfit object.

Usage

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

Value

A matrix where the rows correspond to the simulated haplotypes.

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

See Also

disclapmix disclapmixfit predict.disclapmixfit print.disclapmixfit plot.disclapmixfit summary.disclapmixfit