| random_jump | R Documentation |
Simulation data from a random jump process, from "How to Use t-SNE Effectively".
random_jump(n, dim)
n |
Number of points to sample. |
dim |
Number of dimensions of the dataset. |
Creates a dataset similar to random_walk but with
additional gaussian noise added at each step. Points are linearly mapped from
their position in the walk to a rainbow color scheme.
Data frame with coordinates in the X1, X2 ...
Xn columns, and color in the color column.
http://distill.pub/2016/misread-tsne/
Other distill functions:
circle_data(),
cube_data(),
gaussian_data(),
grid_data(),
link_data(),
long_cluster_data(),
long_gaussian_data(),
ortho_curve(),
random_circle_cluster_data(),
random_circle_data(),
random_walk(),
simplex_data(),
subset_clusters_data(),
three_clusters_data(),
trefoil_data(),
two_clusters_data(),
two_different_clusters_data(),
unlink_data()
df <- random_jump(n = 100, dim = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.