This function generates a synthetic dataset that corresponds to a tree of the form tree <- list(c(5, 1, 2), c(5, 3), c(0, 4))
1 | make_synthetic_dataset(N = 500, mg2 = 0.3, seed = 42)
|
N |
Number of samples in each class. |
mg2 |
Classwise means of second group (attibute 3) |
seed |
Random seed. Default is 42. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.