View source: R/three_clusters.R
make_three_clust_11 | R Documentation |
This function generates a dataset consisting of three distinct clusters
in a p
-dimensional space. Each cluster is generated with a specified
shape and location using the underlying 'gen_multicluster()' function.
make_three_clust_11(n = c(700, 300, 500), p = 4)
n |
An integer vector of length 3 specifying the number of points in
each cluster. Default is |
p |
Integer, the dimensionality of the space. Default is |
A data frame (or tibble, depending on 'gen_multicluster()') containing the generated dataset with cluster assignments.
# Generate default three clusters in 4-D
three_clust_11 <- make_three_clust_11()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.