powered by
Generate a random dataset shaped like a target.
data.target1( r = 1:3, n = 200, sigma = 0.1, levels = NULL, graph = TRUE, seed = NULL )
A randomly generated dataset.
Radius of each class.
Number of observations in each class.
Variance in each class.
Name of each class.
A logical indicating whether or not a graphic should be plotted.
A specified seed for random number generation.
data.diag, data.parabol, data.target2, data.twomoons, data.xor
data.diag
data.parabol
data.target2
data.twomoons
data.xor
data.target1 ()
Run the code above in your browser using DataLab