View source: R/data_gen_Class.R
data.gen.circles | R Documentation |
Circles
data.gen.circles(
n,
r_vec = c(1, 2),
start = runif(1, -1, 1),
s,
do.plot = TRUE
)
n |
The data length to be generated. |
r_vec |
The radius of circles. |
start |
The center of circles. |
s |
The level of Gaussian noise, default 0. |
do.plot |
Logical value. If TRUE (default value), a plot of the generated Circles is shown. |
A list of two variables, x and classes.
Circles=data.gen.circles(n = 1000, r_vec=c(1,2), start=runif(1,-1,1), s=0.1, do.plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.