cube_3d | R Documentation |
This function generates a 3D cube along with optional noise.
cube_3d(num_dims, num_noise, min_n, max_n)
num_dims |
Number of effective dimensions (default is 3 for a 3D cube). |
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 list containing the generated data matrix and the sample size.
set.seed(20240412)
cube_3d(num_dims = 3, num_noise = 2, 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.