Skip to contents

This function generates three circular clusters in 4D space with added noise dimensions.

Usage

three_circulars(n, num_noise, min_n, max_n)

Arguments

n

The total number of samples to generate.

num_noise

The number of additional noise dimensions to add to the data.

min_n

The minimum value for the noise dimensions.

max_n

The maximum value for the noise dimensions.

Value

A matrix containing the three circular clusters with added noise.

Examples

set.seed(20240412)
circular_clusters_data <- three_circulars(
  n = 300, num_noise = 2,
  min_n = -0.05, max_n = 0.05
)