dist_get: Retrieve distances from a '"dist"' object.

Description Usage Arguments Value Examples

Description

Retrieve distances from a '"dist"' object.

Usage

1
dist_get(d, idx1, idx2)

Arguments

d

A distance matrix object of class '"dist"'.

idx1, idx2

Indicies specifying the distances to extract.

Value

A vector of distances.

Examples

1
2
3
4
data(relmbeta_dist)
dist_get(relmbeta_dist, "A1", "A2")
dist_get(relmbeta_dist, "A1", c("A2", "A3", "A4", "A5"))
dist_get(relmbeta_dist, c("A1", "A2", "A3"), c("B1", "B2", "B3"))

kylebittinger/qiimer documentation built on May 20, 2019, 7:30 p.m.