three_clust_diff_dist {cardinalR} | R Documentation |
Generate three clusters of data points with optional noise.
Description
This function generates three clusters of data points along with optional noise.
Usage
three_clust_diff_dist(n, num_dims, num_noise, min_n, max_n)
Arguments
n |
Total number of data points to generate, should be a multiple of three. |
num_dims |
Number of dimensions for each data point. |
num_noise |
Number of additional noise dimensions to add to the data. |
min_n |
Minimum value for the noise added to the data. |
max_n |
Maximum value for the noise added to the data. |
Value
A matrix containing the generated data points with or without added noise.
Examples
set.seed(20240412)
three_clust_diff_dist(
n = 150, num_dims = 7, num_noise = 4, min_n = -0.05,
max_n = 0.05
)
[Package cardinalR version 0.1.1 Index]