two_grid {cardinalR} | R Documentation |
Generate Two Grids with Noise
Description
This function generates two grid datasets with noise dimensions.
Usage
two_grid(n_value, num_noise, min_n, max_n)
Arguments
n_value |
The number of grid points along the x and y axes for each grid. |
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. |
Value
A list containing two grid datasets with added noise and the sample size of each dataset.
Examples
set.seed(20240412)
two_grids <- two_grid(n_value = 19, num_noise = 2, min_n = -0.05, max_n = 0.05)
[Package cardinalR version 0.1.1 Index]