This function generates a dataset consisting of three different linear patterns with added noise.
Arguments
- n
The total number of samples to generate.
- 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.
Examples
set.seed(20240412)
three_diff_linear <- three_diff_linear(
n = 150, num_noise = 2, min_n = -0.05,
max_n = 0.05
)