two_curvy_diff_pts | R Documentation |
This function generates data with two curvilinear clusters that are differentiated from each other, along with added noise.
two_curvy_diff_pts(cluster_size_vec, num_noise, min_n, max_n)
cluster_size_vec |
A vector specifying the number of points in each cluster. |
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. |
A matrix containing the generated data, with each row representing a data point.
# Generate two curvilinear differentiated clusters with noise with custom parameters
set.seed(20240412)
data <- two_curvy_diff_pts(
cluster_size_vec = c(50, 100), num_noise = 2,
min_n = -0.05, max_n = 0.05
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.