Home   >   User Resources   >   Online Help   >   apaCorrels.Shift
 

 

Function index Version 3.0.0

apaCorrels.Shift(Correls, ToIndex)

Excel=apaCorrels.Shift(Correls, ToIndex)

Result

Shifts the elements of a correlation matrix such that a particular element becomes the first one.

Syntax

Correls: correlation matrix

ToIndex: index of the element which becomes the new first element. Can be negative

Remarks

  • Shifts to the left; elements which would drop out are added on the right.

  • Also works with negative ToIndex values. Negative values shift to the right.