simulData-methods {ClustMMDD}R Documentation

Simulate a dataset from a given set of parameters in an instance of modelKS.

Description

Simulate a dataset from a given instance of modelKS containing a set of parameters.

Arguments

object

An instance of modelKS.

N

The size of the sample to simulate.

ploidy

The number of columns for each variable in the data. For example, ploidy = 2 for genotypic data from diploid individual.

Value

A list :

Methods

signature(object = "modelKS", N = "numeric", ploidy = "numeric")

Simulate a dataset for a given set of parameters in a modelKS object.

Author(s)

Wilson Toussile

See Also

modelKS, exModelKS.

Examples

data(exModelKS)
exModelKS
exData = simulData(exModelKS, 1000, 2)
str(exData)
head(exData$data)
head(exData$class)

[Package ClustMMDD version 1.0.4 Index]