powered by
This function generates a dataset representing a structure with a spherical spiral.
gen_sphericalspiral(n = 500, spins = 1)
A data containing a spherical spiral.
A numeric value (default: 500) representing the sample size.
A numeric value (default: 1) representing the number of loops of the spiral.
set.seed(20240412) sphericalspiral <- gen_sphericalspiral(n = 500, spins = 1)
Run the code above in your browser using DataLab