gen_noise_dims | R Documentation |
This function generates random noise dimensions to be added to the coordinates of a sphere.
gen_noise_dims(n, num_noise, min_n, max_n)
n |
The number of observations for which to generate noise dimensions. |
num_noise |
The number of noise dimensions to generate. |
min_n |
The minimum value for the random noise. |
max_n |
The maximum value for the random noise. |
A matrix containing the generated random noise dimensions.
# Generate random noise dimensions with 3 dimensions, minimum value -1, and maximum value 1
set.seed(20240412)
gen_noise_dims(n = 50, num_noise = 3, min_n = -0.01, max_n = 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.