one_grid | R Documentation |
This function generates a grid dataset with specified grid points along the x and y axes, and optionally adds noise dimensions.
one_grid(nx, ny, num_noise, min_n, max_n)
nx |
The number of grid points along the x axis. |
ny |
The number of grid points along the y axis. |
num_noise |
The number of additional noise dimensions to add to the data. |
min_n |
The minimum value for the noise dimensions. |
max_n |
The maximum value for the noise dimensions. |
A matrix containing the grid data with added noise.
set.seed(20240412)
one_grid <- one_grid(nx = 10, ny = 10, 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.