threeClassSimCor: threeClassSimCor(nA,nB,nC)

Description Usage Arguments Value Author(s) Examples

Description

Creates a simulated data set with three classes (A,B,C). Some features are corrupted, to simulate real-world data.

Usage

1
threeClassSimCor(nA, nB, nC, corFeatures, wellSep = TRUE)

Arguments

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.

Value

A list containing the following components:

x$data The simulated data set.

x$key The distribution key for the simulated data set.

Author(s)

Jennifer Starling

Examples

1
2
## Define ctrl object.
datasim <- threeClassSimCor(100,200,300)

jestarling/varstar documentation built on May 19, 2019, 7:15 a.m.