Skip to contents

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.

Usage

make_three_clust_05(n = c(700, 300, 500), p = 4)

Arguments

n

An integer vector of length 3 specifying the number of points in each cluster. Default is c(700, 300, 500).

p

Integer, the dimensionality of the space. Default is 4.

Value

A data frame (or tibble, depending on `gen_multicluster()`) containing the generated dataset with cluster assignments.

Examples

# Generate default three clusters in 4-D
three_clust_05 <- make_three_clust_05()
#>  Data generation completed successfully!!!
#>  Data generation completed successfully!!!
#>  Data generation completed successfully!!!
#>  Multiple clusters generation completed successfully!!!