R/cluster.r

Defines functions cluster.dist

Documented in cluster.dist

### ceeboo 2006

cluster.dist <- function(x, beta) {
    if (!inherits(x, "dist"))
        stop("'x' not of class dist")
    storage.mode(x) <- storage.mode(beta) <- "double"
    obj <- .Call(R_cluster_dist, x, beta)
    names(obj) <- attr(x,"Labels")
    obj
}

###

Try the cba package in your browser

Any scripts or data that you put into this service are public.

cba documentation built on Dec. 7, 2022, 5:17 p.m.