generateParallelPlanes {RSSL} | R Documentation |
Generate Parallel planes
Description
Generate Parallel planes
Usage
generateParallelPlanes(n = 100, classes = 3, sigma = 0.1)
Arguments
n |
integer; Number of objects to generate |
classes |
integer; Number of classes |
sigma |
double; Noise added |
See Also
Other RSSL datasets:
generate2ClassGaussian()
,
generateABA()
,
generateCrescentMoon()
,
generateFourClusters()
,
generateSlicedCookie()
,
generateSpirals()
,
generateTwoCircles()
Examples
library(ggplot2)
df <- generateParallelPlanes(100,3)
ggplot(df, aes(x=x,y=y,color=Class,shape=Class)) +
geom_point()
[Package RSSL version 0.9.7 Index]