sim_groups | R Documentation |
Generate data sets to apply clustering algorithms
sim_groups(n = 500, groups = 3, props = NULL)
n |
An integer. |
groups |
An integer |
props |
A vector of probabilities with length |
set.seed(123456) df <- sim_groups() df plot(df) plot(sim_groups(500, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.