Learn R Programming

disclapmix (version 1.7.3)

simulate.disclapmixfit: Simulate from a disclapmixfit

Description

Simulate from a disclapmixfit object.

Usage

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

Arguments

object

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

nsim

number of haplotypes to generate.

seed

not used

...

not used

Value

A matrix where the rows correspond to the simulated haplotypes.

See Also

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