mgc.dist.xfm {mgc} | R Documentation |
MGC Distance Transform
Description
Transform the distance matrices, with column-wise ranking if needed.
Usage
mgc.dist.xfm(X, Y, option = "mgc", optionRk = TRUE)
Arguments
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 |
Value
A list containing the following:
A |
|
B |
|
RX |
|
RY |
|
Author(s)
C. Shen
Examples
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)
[Package mgc version 2.0.2 Index]