Description Usage Arguments Value
determining initial trajectory and landmarks
1 2 3 | trajectory_landmarks(knn, data, s, partial_order = NULL, waypoints = 250,
waypoints_seed = 123, metric = "euclidean", flock_waypoints = 2,
band_sample = FALSE)
|
knn |
A sparse matrix of knn. |
data |
data. |
s |
The ID of starting point. |
partial_order |
A vector of IDs specified as recommended waypoints, NULL to ignore. |
waypoints |
Either the number of waypoints, or specify the waypoint IDs. |
waypoints_seed |
Random sampling seed, for reproducible results. |
metric |
Distance calculation metric for nearest neighbour detection. |
flock_waypoints |
Iteration of using nearest points around waypoint to adjust its position. |
band_sample |
if give more chance to nearest neighbours of starting point in randomly waypoints selection. |
a list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.