generateSim {SSOSVM}R Documentation

Generate Simulations

Description

Generate simple simulations for testing of the algorithms.

Usage

generateSim(NN = 10^4, DELTA = 2, DIM = 2, seed = NULL)

Arguments

NN

Number of observations. Default is 10^4

DELTA

Separation of three groups in standard errors. Default is 2.

DIM

Number of dimensions in data. Default is 2.

seed

Random seed if desired.

Value

A list containing:

XX

Coordinates of the simulated points.

YY

Cluster membership of the simulated points.

YMAT

YY and XX Combined as a single matrix.

Examples

#100 points of dimension 4.
generateSim(NN=100, DELTA=2, DIM=4)

[Package SSOSVM version 0.2.1 Index]