conic_spiral_3d {cardinalR}R Documentation

Generate data points along a conic spiral curve with optional noise.

Description

This function generates data points along a conic spiral curve with optional noise.

Usage

conic_spiral_3d(n, num_noise, min_n, max_n)

Arguments

n

Total number of data points to generate.

num_noise

Number of additional noise dimensions to add to the data.

min_n

Minimum value for the noise added to the data.

max_n

Maximum value for the noise added to the data.

Value

A matrix containing the generated data points with or without added noise.

Examples

set.seed(20240412)
conic_spiral_3d(n = 100, num_noise = 2, min_n = -0.05, max_n = 0.05)


[Package cardinalR version 0.1.1 Index]