ortho_curve | R Documentation |
Points related by mutually orthogonal steps, from "How to Use t-SNE Effectively".
ortho_curve(n)
n |
Number of points to sample. |
Creates N points from an N-dimensional space, where each point is related by a mutually orthogonal step. Coordinates from a triangular matrix, where the coordinates in the triangle are one, and are zero everywhere else. Points are linearly mapped from their row id 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()
,
random_circle_cluster_data()
,
random_circle_data()
,
random_jump()
,
random_walk()
,
simplex_data()
,
subset_clusters_data()
,
three_clusters_data()
,
trefoil_data()
,
two_clusters_data()
,
two_different_clusters_data()
,
unlink_data()
df <- ortho_curve(n = 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.