nonlinear_2d | R Documentation |
This function generates points on a nonlinear 2D manifold based on a given equation.
nonlinear_2d(n, num_noise, min_n, max_n)
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. |
A matrix containing the generated points on the nonlinear 2D manifold.
set.seed(20240412)
nonlinear_points <- nonlinear_2d(
n = 100, num_noise = 2, min_n = -0.01,
max_n = 0.01
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.