A rotation matrix follows the convention

\begin{flalign} \begin{bmatrix} \cos(x) & \pm\sin(x) \\ \sin(x) & \cos(x) \end{bmatrix} \end{flalign}

If the is negative, then a positive increase in angle corresponds to a counterclockwise rotation of the vector