search for: paircorr

Displaying 1 result from an estimated 1 matches for "paircorr".

Did you mean: paircomb
2006 Nov 20
1
My own correlation structure with nlme
...en below. I am wondering to know how to continue with this structure by using specific functions (corMatrix, getCovariate, Initialize,...) in order to get a structure like corAR1, corSymm which will be working for my data. Thanks in advance. Regards M. Feddag *Correlation structure _ _* pairCorr <- function(A, B, lowerTriangle = TRUE){ n <- length(A) m <- length(B) if (n != m) stop("A and B must have same length") result <- matrix(0, n, n) same.A <- outer(A, A, "==") same.B <- outer(B, B, "==") A.matches.B <- outer(A, B, &quo...