four_long_clust_bkg {cardinalR}R Documentation

Generate Four Long Clusters with Background Noise

Description

This function generates data with four long clusters along with background noise.

Usage

four_long_clust_bkg(n, num_noise, min_n, max_n)

Arguments

n

The total number of data points to be generated.

num_noise

The number of additional noise dimensions to be generated.

min_n

The minimum value for the noise added to the data points.

max_n

The maximum value for the noise added to the data points.

Value

A matrix containing the generated data, with each row representing a data point.

Examples

# Generate four long clusters with background noise with custom parameters
set.seed(20240412)
data <- four_long_clust_bkg(
  n = 400, num_noise = 4, min_n = -0.05,
  max_n = 0.05
)

[Package cardinalR version 0.1.1 Index]