Skip to contents

This function generates three grid datasets with noise dimensions.

Usage

three_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 three grid datasets with added noise and the sample size of each dataset.

Examples

set.seed(20240412)
three_grids <- three_grid(
  n_value = 19, num_noise = 2, min_n = -0.05,
  max_n = 0.05
)