make_gaucircles | R Documentation |
This function generates a dataset consisting of multiple circular clusters
together with a single Gaussian cluster in a p
-dimensional space.
The circles are placed concentrically at the origin with varying scales,
while the Gaussian cluster serves as an additional background or center cluster.
make_gaucircles(
n = c(200, 100, 100),
p = 4,
num_circles = 2,
scale_circles = c(1, 2)
)
n |
An integer vector of length |
p |
Integer, the dimensionality of the embedding space. Must be at least 3.
Default is |
num_circles |
Integer, the number of circular clusters to generate.
Default is |
scale_circles |
Numeric vector of length |
A data frame (or tibble, depending on gen_multicluster()
)
containing the generated dataset with cluster assignments.
# Two circles (radii 1 and 2) plus one Gaussian cluster in 4-D
gaucircles <- make_gaucircles()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.