tcnewdata: Create all-numeric data to mimic the inter-point distances...

Description Usage Arguments Details Value Author(s) References See Also

Description

treeClust produces a vector of dissimilarities, but these objects are large. This function produces a data frame of data whose inter-point distances are related to the treeClust ones, for use in, for example, k-means.

Usage

1
tcnewdata(obj, d.num = 1, tbl, mat, trees)

Arguments

obj

Output from a call to treeClust.

d.num

Integer, 1-4, describing dissimilarity algorithm. See treeClust.

tbl

Matrix of tree deviances and sizes, if not present in obj.

mat

Matrix of leaf memberships, if not present in obj.

trees

List of trees, if not present in obj (needed for d.num = 3 or 4),

Details

See the paper by Buttrey and Whitaker. The inter-point distances of this data set "mirror" the treeClust distances, but only if they are computed in a particular non-standard way. This is experimental.

Value

Numeric matrix of data whose inter-point distances match the d1 distances computed by treeClust, and which may be useful for d2-d4 as well.

Author(s)

Sam Buttrey, buttrey@nps.edu

References

Buttrey and Whitaker, The R Journal, 7/2, 2015.

See Also

treeClust


treeClust documentation built on May 1, 2019, 7:59 p.m.