Learn R Programming

cardinalR (version 1.0.6)

gen_conicspiral: Generate Conical Spiral

Description

This function generates a dataset representing a conical spiral structure.

Usage

gen_conicspiral(n = 500, spins = 1)

Value

A data containing a conical spiral structure.

Arguments

n

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

spins

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

Examples

Run this code
set.seed(20240412)
conicspiral <- gen_conicspiral(n = 500, spins = 1)

Run the code above in your browser using DataLab