Learn R Programming

treeClust (version 1.1-7)

treeClust.dist: Built treeClust distance

Description

This function uses treeClust to build a distance. It is intended to act analagously to daisy and dist.

Usage

treeClust.dist(x, ...)

Arguments

x

Data set from which to compute distances via treeClust.

Other argments to be passed to treeClust.

Value

An object of class dissimilarity.

Details

The treeClust function's first argument is named dfx. This calls the same code, but by naming the first argument x it allows users to employ this function interchangeably with dist and daisy, which expect arguments named x. This function also sets the return.dists flag and extract the distance object so that that is the only thing returned.

See Also

treeClust