torus_3d_row {cardinalR} | R Documentation |
This function generates a row of data points for a 3D torus with given radii.
torus_3d_row(radius)
radius |
A numeric vector containing the radii of the torus, from largest to smallest. |
A vector representing a row of data points for the 3D torus.
set.seed(20240412)
torus_3d_row(c(2, 1))