nonlinear_2d {cardinalR} | R Documentation |
Generate points on a nonlinear 2D manifold
Description
This function generates points on a nonlinear 2D manifold based on a given equation.
Usage
nonlinear_2d(n, num_noise, min_n, max_n)
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. |
Value
A matrix containing the generated points on the nonlinear 2D manifold.
Examples
set.seed(20240412)
nonlinear_points <- nonlinear_2d(
n = 100, num_noise = 2, min_n = -0.01,
max_n = 0.01
)
[Package cardinalR version 0.1.1 Index]