powered by
Replace asymmetric matrix by max of abs values of [ij] or [ji] elements useful in symmetrizing gmcmtx0 general correlation matrix
symmze(mtx)
non-symmetric matrix
replace [i,j] and [j,i] by the max of absolute values with common sign
# NOT RUN { # } # NOT RUN { example mtx=matrix(1:16,nrow=4) symmze(mtx) # } # NOT RUN { #' # }
Run the code above in your browser using DataLab