Description Usage Arguments Value Author(s) Examples
Creates a simulated data set with three classes (A,B,C).
1 | threeClassSim(nA, nB, nC, wellSep = TRUE)
|
nA |
Number of observations to generate from class A. Defaults to NULL. |
nB |
Number of observations to generate from class B. Defaults to NULL. |
nC |
Number of observations to generate from class C. Defaults to NULL. |
wellSep |
Value to indicate whether distributions of three classes should be well separated. Defaults to TRUE. |
A list containing the following components:
x$data The simulated data set.
x$key The distribution key for the simulated data set.
Jennifer Starling
1 2 | ## Define ctrl object.
datasim <- threeClassSim(100,200,300)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.