powered by
return position and value of the largest element of a correlation matrix R (without taking into account the diagonal elements)
maxmatrix(R)
a list with components
row index of maximum
col index of maximum
value of maximum, i.e. val == R[row,col].
val == R[row,col]
a square symmetric numeric matrix
sca, also for references
sca
data(reflexesC) maxmatrix(reflexesC) # -> 0.98 at [1, 2]
Run the code above in your browser using DataLab