simulData-methods: Simulate a dataset from a given set of parameters in an...

Description Arguments Value Methods Author(s) See Also Examples

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

1
2
3
4
5
6
data(exModelKS)
exModelKS
exData = simulData(exModelKS, 1000, 2)
str(exData)
head(exData$data)
head(exData$class)

ClustMMDD documentation built on May 2, 2019, 2:44 p.m.