DSD()
# create data stream with three clusters in 3-dimensional space
stream <- DSD_Gaussians(k = 3, d = 3)
# get points from stream
get_points(stream, n = 5)
# plotting the data (scatter plot matrix, first and third dimension, and first
# two principal components)
plot(stream)
plot(stream, dim = c(1, 3))
plot(stream, method = "pca")
Run the code above in your browser using DataLab