View source: R/general_auxiliary.R
Swissroll | R Documentation |
The function creates a three-dimensional dataset with coordinates
following the Swiss roll mapping, transforming random uniform data points
sampled on the interval (0,10)
.
Swissroll(n)
n |
number of observations contained in the output dataset. |
a three-dimensional data.frame
containing the coordinates of
the points generated via the Swiss roll mapping.
Data <- Swissroll(1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.