View source: R/DSD_UniformNoise.R
DSD_UniformNoise | R Documentation |
This generator produces uniform noise in a d-dimensional unit (hyper) cube.
DSD_UniformNoise(d = 2, range = NULL)
d |
Determines the number of dimensions. |
range |
A matrix with two columns and |
Returns a DSD_UniformNoise
object.(subclass of DSD_R
,
DSD
).
Michael Hahsler
Other DSD:
DSD()
,
DSD_BarsAndGaussians()
,
DSD_Benchmark()
,
DSD_Cubes()
,
DSD_Gaussians()
,
DSD_MG()
,
DSD_Memory()
,
DSD_Mixture()
,
DSD_NULL()
,
DSD_ReadDB()
,
DSD_ReadStream()
,
DSD_Target()
,
DSD_mlbenchData()
,
DSD_mlbenchGenerator()
,
DSF()
,
animate_data()
,
close_stream()
,
get_points()
,
plot.DSD()
,
reset_stream()
# create data stream with three clusters in 2D
stream <- DSD_UniformNoise(d = 2)
get_points(stream, n = 5)
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.