simulate.disclapmixfit: Simulate from a disclapmixfit

View source: R/helper.R

simulate.disclapmixfitR Documentation

Simulate from a disclapmixfit

Description

Simulate from a disclapmixfit object.

Usage

## S3 method for class '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.

See Also

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


mikldk/disclapmix documentation built on July 3, 2025, 6:47 p.m.