gen_trefoil4d | R Documentation |
This function generates coordinates for a 4-D trefoil knot. The number of points is determined by the length of the theta and phi sequences.
gen_trefoil4d(n = 500, p = 4, steps = 5)
n |
A numeric value (default: 500) representing the sample size. |
p |
A numeric value (default: 4) representing the number of dimensions. |
steps |
A numeric value (default: 5) representing the number of steps for the theta parameter. |
A data containing 4-D trefoil knot.
set.seed(20240412)
trefoil4d <- gen_trefoil4d(n = 500, p = 4, steps = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.