This function generates points on a curvilinear 2D manifold based on a nonlinear equation.
Arguments
- n
The number of points to generate.
- num_noise
The number of noise dimensions to add to the generated points.
- min_n
The minimum value for the noise dimensions.
- max_n
The maximum value for the noise dimensions.
Examples
set.seed(20240412)
curvilinear_points <- curv_2d(
n = 100, num_noise = 2, min_n = -0.01,
max_n = 0.01
)