NetLogo 7.0.0-beta2:

matrix:swap-columns

matrix:swap-columns matrix col1 col2

Changes the given matrix matrix by swapping the columns at col1 and col2 with each other.

Take me to the full Matrix Extension Dictionary