Dear Ricardo,
I would not expect that there is some ready-to-go function that could do what you wish but it is probably not overly challenging to use a for loop or apply function to accomplish this. For example, with 2d plots, one could do something like this, using Cov as a covariance matrix and Y as a matrix of points used for plotting the configuration.
D <- as.dist(abs(Cov), diag = FALSE)
D <- as.vector(D)
L <- combn(p, 2, simplify = FALSE) # p is the number of points; L is a list of all pairs of landmarks
drawline <- function(d, t, v1, v2, ...){# v1 and v2 are vectors; t = threshold, d = covariance
if(d >= t)
points(rbind(v1, v2), type = "l", ...)
}
thresh <- 0.3 # covariance magnitude to plot
for(i in 1:length(L)){
d <- D[i]
pts <- L[i]
v1 <- Y[pts[1], ]
v2 <- Y[pts[2], ]
drawline(d, thresh, v1, v2, lwd = d * 4, col = 2) # line thickness based on covariance strength
}
I did not try this with data, so my coding might be flawed, but I hope the concept is clear.
Good luck!
Mike