https://github.com/cran/CluMix
Revision b6ad4d474d5865090b0bfabf2570aa79580237a4 authored by Manuela Hummel on 16 May 2017, 09:19:23 UTC, committed by cran-robot on 16 May 2017, 09:19:23 UTC
1 parent dd414a4
Raw File
Tip revision: b6ad4d474d5865090b0bfabf2570aa79580237a4 authored by Manuela Hummel on 16 May 2017, 09:19:23 UTC
version 2.0
Tip revision: b6ad4d4
similarity.subjects.R
similarity.subjects <- function(data, weights){
  D <- dist.subjects(data, weights=weights)
  S <- 1 - D
  return(as.matrix(S))
}
back to top