powered by
sdists.center.align(x, center, method = "ow", weight = c(1, 0, 2), exclude = c(NA, NaN, Inf, -Inf), break.ties = TRUE, transitive = FALSE, to.data.frame = FALSE)
sdists
x
data.frame
center
ties
If center is missing isdists.center is used to compute an initial center.
isdists.center
sdists.center
## continue example x <- c("ABCD", "AD", "BCD", "ACF", "CDF", "BC") sdists.center.align(x) sdists.center.align(x, transitive = TRUE, to.data.frame = TRUE)
Run the code above in your browser using DataLab