trajectory_landmarks: determining initial trajectory and landmarks

Description Usage Arguments Value

View source: R/Swanderlust.R

Description

determining initial trajectory and landmarks

Usage

1
2
3
trajectory_landmarks(knn, data, s, partial_order = NULL, waypoints = 250,
  waypoints_seed = 123, metric = "euclidean", flock_waypoints = 2,
  band_sample = FALSE)

Arguments

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.

Value

a list


uSORT documentation built on Nov. 8, 2020, 5:18 p.m.