data.target1 | R Documentation |
Generate a random dataset shaped like a target.
data.target1(
r = 1:3,
n = 200,
sigma = 0.1,
levels = NULL,
graph = TRUE,
seed = NULL
)
r |
Radius of each class. |
n |
Number of observations in each class. |
sigma |
Variance in each class. |
levels |
Name of each class. |
graph |
A logical indicating whether or not a graphic should be plotted. |
seed |
A specified seed for random number generation. |
A randomly generated dataset.
data.diag
, data.parabol
, data.target2
, data.twomoons
, data.xor
data.target1 ()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.