make_three_clust_11: Generate a Three-Cluster Dataset in High Dimensions

View source: R/three_clusters.R

make_three_clust_11R Documentation

Generate a Three-Cluster Dataset in High Dimensions

Description

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_11(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_11 <- make_three_clust_11()


cardinalR documentation built on Aug. 21, 2025, 5:27 p.m.