dist_parts_merge: Merge parts of distances stored in data frames.

View source: R/utils.R

dist_parts_mergeR Documentation

Merge parts of distances stored in data frames.

Description

The functions tsdist_dir_parallel and tsdist_parts_parallel calculate part of the distance matrix D. This function merges these files and construct a distance matrix D.

Usage

dist_parts_merge(list_dfs, num_elements)

Arguments

list_dfs

A list of data frames. Each data frame should have three columns i,j, and dist.

num_elements

The number of time series in the data set. The number of elements defines the number of rows ans columns in the distance matrix D.

Value

Distance matrix D


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