diff_sphere | R Documentation |
This function generates data points representing small spheres within a larger encompassing sphere and adds noise to the data if specified.
diff_sphere(n, num_noise, min_n, max_n)
n |
Total number of data points to generate, should be a multiple of 13. |
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. |
A matrix containing the generated data points with or without added noise.
set.seed(20240412)
diff_sphere(
n = 390, 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.