make_curvygau: Generate Curvy Quadratic and Gaussian Clusters
Description
This function generates synthetic high-dimensional data containing
two clusters: one quadratic-shaped cluster and one Gaussian-shaped
cluster. The clusters are positioned apart in feature space with
different scaling factors.
Usage
make_curvygau(n = c(200, 100), p = 4)
Value
A tibble containing \(n[1] + n[2]\) rows and \(p\) columns,
with generated features (x1, x2, ..., xp) and a
cluster label.
Arguments
n
A numeric vector of length 2, specifying the number of
observations in each cluster. All values must be positive.
p
Integer. Number of dimensions. Must be at least 3.