gen_conicspiral: Generate Conical Spiral

View source: R/trigonometric.R

gen_conicspiralR Documentation

Generate Conical Spiral

Description

This function generates a dataset representing a conical spiral structure.

Usage

gen_conicspiral(n = 500, p = 4, spins = 1)

Arguments

n

A numeric value (default: 500) representing the sample size.

p

A numeric value (default: 4) representing the number of dimensions.

spins

A numeric value (default: 1) representing the number of loops of the spiral.

Value

A data containing a conical spiral structure.

Examples

set.seed(20240412)
conicspiral <- gen_conicspiral(n = 500, p = 4, spins = 1)

cardinalR documentation built on Aug. 21, 2025, 5:27 p.m.