View source: R/DSD_BarsAndGaussians.R
| DSD_BarsAndGaussians | R Documentation |
A data stream generator which creates the shape of two bars and two Gaussians clusters with different density.
DSD_BarsAndGaussians(angle = NULL, noise = 0)
angle |
rotation in degrees. |
noise |
The amount of noise that should be added to the output. |
Returns a DSD_BarsAndGaussians object.
Michael Hahsler
DSD
Other DSD:
DSD(),
DSD_Benchmark(),
DSD_Cubes(),
DSD_Gaussians(),
DSD_MG(),
DSD_Memory(),
DSD_Mixture(),
DSD_NULL(),
DSD_ReadDB(),
DSD_ReadStream(),
DSD_Target(),
DSD_UniformNoise(),
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_BarsAndGaussians(noise = 0.1)
get_points(stream, n = 10)
plot(stream)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.