torus_3d_row {cardinalR}R Documentation

Generate a row of data points for a 3D torus.

Description

This function generates a row of data points for a 3D torus with given radii.

Usage

torus_3d_row(radius)

Arguments

radius

A numeric vector containing the radii of the torus, from largest to smallest.

Value

A vector representing a row of data points for the 3D torus.

Examples

set.seed(20240412)
torus_3d_row(c(2, 1))


[Package cardinalR version 0.1.1 Index]