simulData-methods {ClustMMDD} | R Documentation |
modelKS
.
Simulate a dataset from a given instance of modelKS
containing a set of parameters.
object |
An instance of |
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. |
A list :
[["data"]] : The simulated dataset.
[["class"]] : The membership class.
signature(object = "modelKS", N = "numeric", ploidy = "numeric")
Simulate a dataset for a given set of parameters in a modelKS
object.
Wilson Toussile
data(exModelKS) exModelKS exData = simulData(exModelKS, 1000, 2) str(exData) head(exData$data) head(exData$class)