powered by
StrKclust discovers clusters of the strings in a group.
StrKclust(strings.vec, nclust = 2, nstart = 1, shade = FALSE)
String Vector.
Number of clusters. Default is 2.
Number of random data sets chosen to start. Default is 1.
Whether shade the ellipses in the cluster plot or not. Default is false.
Returns a data frame with the specific cluster assigned to each string.
A cluster plot is also exported.
StrHclust
# NOT RUN { # Simple strings strs3.vec <- c("ABCDdefABCDa", "AC3aABCD", "ACD1AB3", "xYZfgAxZY", "gf56xZYx", "AkfxzYZg") StrKclust(strs3.vec) # }
Run the code above in your browser using DataLab