mgc.dist.xfm | R Documentation |
Transform the distance matrices, with column-wise ranking if needed.
mgc.dist.xfm(X, Y, option = "mgc", optionRk = TRUE)
X |
|
Y |
|
option |
is a string that specifies which global correlation to build up-on. Defaults to
|
optionRk |
is a string that specifies whether ranking within column is computed or not. If |
A list containing the following:
|
|
|
|
|
|
|
|
C. Shen
library(mgc) n=200; d=2 data <- mgc.sims.linear(n, d) Dx <- as.matrix(dist(data$X), nrow=n); Dy <- as.matrix(dist(data$Y), nrow=n) dt <- mgc.dist.xfm(Dx, Dy)