A set of quantites form a 4-vector if they tranform via the Lorentz tranform. Thus if \textbf{X} = (ct, x, y, z)^T and \textbf{X'} = (ct', x', y', z')^T are coordinates for the same event in two different inertial frames (in "standard configuration", i.e. with aligned spatial axes and in relative motion along their common
x axis), we can say this is a 4-vector because
\textbf{X'} = \Lambda \, \textbf{X}
where
\Lambda = \left[ \begin{array}{cccc}<br />
\gamma & -\gamma v & 0 & 0 \\<br />
-\gamma v & \gamma & 0 & 0 \\<br />
0 & 0 & 1 & 0 \\<br />
0 & 0 & 0 & 1 \\<br />
\end{array} \right]
"Lorentz-contracted length" doesn't satisfy this because the length is measured between two events that are simultaneous in the frame where the measurement is made. When you change frames, you also change events. The Lorentz transform applies only when you measure the
same pair of events in two different frames.
Other examples of 4-vectors are
Energy-momentum... \textbf{P} = (\frac{E}{c}, p_1, p_2, p_3)^T = m\frac{d\textbf{X}}{d\tau}
4-force...... \textbf{F} = \frac{d\textbf{P}}{d\tau}
4-current..... \textbf{J} = (\rho c, j_1, j_2, j_3)^T
electromagnetic 4-potential \Psi = (\phi, a_1 c, a_2 c, a_3 c)^T
(See
four-vector[/color] on Wikipedia.)