Skip to contents

This function generates a grid dataset with different values and background noise.

Usage

one_grid_bkg(n_value, num_noise, min_n, max_n)

Arguments

n_value

The number of grid points along each axis for the grids.

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 the one grid datasets with background noise and the sample size.

Examples

set.seed(20240412)
one_grid_bkg <- one_grid_bkg(
  n_value = 10, num_noise = 2, min_n = -0.05,
  max_n = 0.05
)