Learn R Programming

stream (version 1.5-1)

DSD_BarsAndGaussians: Data Stream Generator for Bars and Gaussians

Description

A data stream generator which creates the shape of two bars and two Gaussians clusters with different density.

Usage

DSD_BarsAndGaussians(angle = NULL, noise = 0)

Value

Returns a DSD_BarsAndGaussians object.

Arguments

angle

rotation in degrees. NULL will produce a random rotation.

noise

The amount of noise that should be added to the output.

Author

Michael Hahsler

See Also

DSD

Examples

Run this code

# create data stream with three clusters in 2D
stream <- DSD_BarsAndGaussians(noise=0.1)

# plotting the data
plot(stream)

Run the code above in your browser using DataLab