StrHclust: Hierarchical cluster of a group of strings

Description Usage Arguments Value See Also Examples

Description

StrHclust discovers clusters of the strings in a group.

Usage

1
StrHclust(strings.vec, nclust = 2)

Arguments

strings.vec

String Vector.

nclust

Number of clusters. Default is 2.

Value

Returns a data frame with the specific cluster assigned to each string.

A Hierarchical dendrogram is also exported.

See Also

StrKclust

Examples

1
2
3
# Simple strings
strs3.vec <- c("ABCDdefABCDa", "AC3aABCD", "ACD1AB3", "xYZfgAxZY", "gf56xZYx", "AkfxzYZg")
StrHclust(strs3.vec)

dstgithub/GrpString documentation built on May 15, 2019, 4:49 p.m.