stream (version 1.3-0)

DSD_UniformNoise: Uniform Noise Data Stream Generator

Description

This generator produces uniform noise in a d-dimensional unit (hyper) cube.

Usage

DSD_UniformNoise(d=2, range=NULL)

Arguments

d

Determines the number of dimensions.

range

A matrix with two columns and d rows giving the minimum and maximum for each dimension. Defaults to the range of \([0,1]\).

Value

Returns a DSD_UniformNoise object.(subclass of DSD_R, DSD).

See Also

DSD

Examples

Run this code
# NOT RUN {
# create data stream with three clusters in 2D
stream <- DSD_UniformNoise(d=2)
plot(stream, n=100)

# specify a different range for each dimension 
stream <- DSD_UniformNoise(d=3, range=rbind(c(0,1), c(0,10), c(0,5)))
plot(stream, n=100)
# }

Run the code above in your browser using DataLab