dist_get: Get the distance between two elements in a distance matrix

View source: R/dist_groups.R

dist_getR Documentation

Get the distance between two elements in a distance matrix

Description

This function calculates the distance between two elements in a distance matrix

Usage

dist_get(d, idx1, idx2)

Arguments

d

Distance matrix

idx1

Index of the first element

idx2

Index of the second element

Details

Credit goes to usedist package

Value

Distance between the two elements

Examples

NULL

taxonomicallyinformedannotation/tima-r documentation built on May 17, 2024, 6:30 a.m.