Revision 0d1b46ce56f99be7b8c9412c34b720b0794a8ce6 authored by Manuela Hummel on 03 March 2016, 20:29:17 UTC, committed by cran-robot on 03 March 2016, 20:29:17 UTC
0 parent
dist.variables.R
dist.variables <-
function(data, associationFun=association, check.psd=TRUE){
# data: data.frame of original data
# associationFun: function that calculates association measure for each pair of variables
# check.psd: check if resulting similarity matrix S is positive semi-definite?
S <- similarity.variables(data, associationFun=associationFun, check.psd=check.psd)
D <- as.dist(sqrt(1 - S))
return(D)
}
Computing file changes ...