Another option would be to calculate the mutual information score between each pair of variables. For example, using a mutinformationfunction from infotheo package , you can do:
set.seed(1)
library(infotheo)
x <- seq(-10,10, by=0.5)
y <- x^2
z <- rnorm(length(x))
raw_dat <- list(x, y, z)
dat <- matrix(unlist(raw_dat), ncol=length(raw_dat))
dat <- discretize(dat)
mutinformation(dat)
Result
| | V1| V2| V3|
|:--|---------:|---------:|---------:|
|V1 | 1.0980124| 0.4809822| 0.0553146|
|V2 | 0.4809822| 1.0943907| 0.0413265|
|V3 | 0.0553146| 0.0413265| 1.0980124|
mutinformation() . discretize() , , .
, , , .