Description Usage Arguments Value Author(s) Examples
Generates a sample from a uniform distribution on a Swiss roll-surface, possibly together with a sample from a uniform distribution on a 3-sphere inside the Swiss roll.
1 2 | swissRoll(Ns, a = 1, b = 2, nturn = 1.5, h = 4)
swissRoll3Sph(Ns, Nsph, a = 1, b = 2, nturn = 1.5, h = 4)
|
Ns |
number of data points on the Swiss roll. |
Nsph |
number of data points on the 3-sphere. |
a |
minimal radius of Swiss roll and radius of 3-sphere. |
b |
maximal radius of Swiss roll. |
nturn |
number of turns of the surface. |
h |
height of Swiss roll. |
swissRoll
returns three-dimensional data points.
swissRoll3Sph
returns four-dimensional data points with the Swiss roll
in the three first dimensions (columns). The Ns
first data points
lie on the Swiss roll and the Nsph
last data points lie on the
3-sphere.
Kerstin Johnsson, Lund University.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.