Description Usage Arguments Value Author(s) Examples
Creates a simulated data set with three classes (A,B,C). Some features are corrupted, to simulate real-world data.
1  | threeClassSimCor(nA, nB, nC, corFeatures, 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 <- threeClassSimCor(100,200,300)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.