bray.diss: Bray-Curtis dissimilarity

View source: R/dissimilarities.R

bray.dissR Documentation

Bray-Curtis dissimilarity

Description

Calculates the Bray-Curtis dissimilarity between two samples

Usage

bray.diss(x, ...)

## Default S3 method:
bray.diss(x, y, ...)

## S3 method for class 'compositional'
bray.diss(x, ...)

Arguments

x

a vector containing the first compositional sample

...

optional arguments

y

a vector of length(x) containing the second compositional sample

Value

a scalar value

Examples

data(Namib)
print(bray.diss(Namib$HM$x["N1",],Namib$HM$x["N2",]))

provenance documentation built on May 29, 2024, 4:23 a.m.