View source: R/trigonometric.R
| gen_sphericalspiral | R Documentation | 
This function generates a dataset representing a structure with a spherical spiral.
gen_sphericalspiral(n = 500, p = 4, spins = 1)
| 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. | 
A data containing a spherical spiral.
set.seed(20240412)
sphericalspiral <- gen_sphericalspiral(n = 500, p = 4, spins = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.