R/dendro.subjects.R

Defines functions dendro.subjects

Documented in dendro.subjects

dendro.subjects <-
function(data, weights, linkage="ward.D2"){  
#function(data, type=list()){  
# !! to be done: allow also asymmetric binary variables
  
  D.subjects <- dist.subjects(data, weights=weights)
  #D.subjects <- dist.subjects(data, weights=weights, type=type)
  as.dendrogram(hclust(D.subjects, method=linkage))
}

Try the CluMix package in your browser

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

CluMix documentation built on Jan. 21, 2019, 5:05 p.m.