View source: R/data_generators.R
| gen_circles | R Documentation |
Generate Concentric Circles Data
gen_circles(n, noise = 0.05)
n |
Number of observations. |
noise |
Standard deviation of Gaussian noise. |
A list with numeric matrix x and factor y.
dat <- gen_circles(20, noise = 0.05)
str(dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.