net_knn: Construct a knn-network from a distance matrix.

View source: R/tss_to_net.R

net_knnR Documentation

Construct a knn-network from a distance matrix.

Description

Construct a knn-network from a distance matrix.

Usage

net_knn(D, k, num_cores = 1)

Arguments

D

Distance matrix

k

(Integer) k nearest-nearest neighbors where each time series will be connected to

num_cores

(Integer) Number of cores to use.

Value

k nearest-neighbor network


ts2net documentation built on June 9, 2022, 9:06 a.m.