mlbench.shapes {mlbench} | R Documentation |
A Gaussian, square, triangle and wave in 2 dimensions.
mlbench.shapes(n=500)
n |
number of patterns to create |
Returns an object of class "mlbench.shapes"
with components
x |
input values |
classes |
factor of length n with target classes |
p<-mlbench.shapes() plot(p)