curv_2d {cardinalR} | R Documentation |
Generate points on a curvilinear 2D manifold
Description
This function generates points on a curvilinear 2D manifold based on a nonlinear equation.
Usage
curv_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 curvilinear 2D manifold.
Examples
set.seed(20240412)
curvilinear_points <- curv_2d(
n = 100, num_noise = 2, min_n = -0.01,
max_n = 0.01
)
[Package cardinalR version 0.1.1 Index]