dist_groups: Dist groups

View source: R/dist_groups.R

dist_groupsR Documentation

Dist groups

Description

This function gets distances per group

Usage

dist_groups(d, g)

Arguments

d

A distance object

g

A grouping vector for the distance object

Value

A data frame containing distance information between pairs of observations in the distance object, with columns for the names or indices of the observations, the group labels for each observation, and the distance between the observations. The label column indicates whether the distance is within a group or between groups.

Examples

NULL

taxonomicallyinformedannotation/tima-r documentation built on Dec. 20, 2024, 9:32 a.m.