powered by
Generate a random dataset shaped like a parabol and a gaussian distribution
data.parabol( n = c(500, 100), xlim = c(-3, 3), center = c(0, 4), coeff = 0.5, sigma = c(0.5, 0.5), levels = NULL, graph = TRUE, seed = NULL )
Number of observations in each class.
Minimum and maximum on the x axis.
Coordinates of the center of the gaussian distribution.
Coefficient of the parabol.
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.
A randomly generated dataset.
data.diag, data.target1, data.target2, data.twomoons, data.xor
data.diag
data.target1
data.target2
data.twomoons
data.xor
# NOT RUN { data.parabol () # }
Run the code above in your browser using DataLab