Revision dd414a45be07f9c033c980461d041111b898f0a7 authored by Manuela Hummel on 29 December 2016, 10:52:10 UTC, committed by cran-robot on 29 December 2016, 10:52:10 UTC
1 parent a006880
Raw File
similarity.subjects.R
similarity.subjects <- function(data, weights){
  D <- dist.subjects(data, weights=weights)
  S <- 1 - D^2
  return(as.matrix(S))
}
back to top