\begin{table}[ht]
\centering
\adjustbox{max width=1\textwidth}{
\small
\begin{tabular}{c|c|*{7}{c|}}
\multicolumn{2}{c}{} & \multicolumn{7}{c}{Variance ($\sigma^{2}$)} \tabularnewline
\cline{2-9}
\multirow{8}*{\rotatebox{90}{Mean ($\mu$)}} &
& \bfseries 0 & \bfseries 2 & \bfseries 6 & \bfseries 10 & \bfseries 14 &\bfseries 18 & \bfseries 20 \tabularnewline
\cline{2-10}
& \bfseries 0 & 1682.183 & 1681.979 & 1681.759 & 1681.652 & 1681.620 & 1681.603 & 1681.595 \tabularnewline
\cline{2-10}
& \bfseries 0.5 & 1693.820 & 1689.220 & 1682.688 & 1681.661 & 1681.622 & 1681.603 & 1681.595\tabularnewline
\cline{2-10}
& \bfseries 2 & 1698.682 & 1695.159 & 1687.257 & 1682.034 & 1681.633 & 1681.604 & 1681.596 \tabularnewline
\cline{2-10}
& \bfseries 5 & 1700.203 & 1697.297 & 1690.221 & 1683.147 & 1681.743 & 1681.608 & 1681.597 \tabularnewline
\cline{2-10}
& \bfseries 8 & 1701.064 & 1698.618 & 1692.169 & 1684.388 & 1682.033 & 1681.616 & 1681.598 \tabularnewline
\cline{2-10}
& \bfseries 12 & 1701.651 & 1699.463 & 1693.457 & 1685.524 & 1682.497 & 1681.668 & 1681.605 \tabularnewline
\cline{2-10}
& \bfseries 15 & 1702.081 & 1699.804 & 1693.958 & 1686.039 & 1682.757 & 1681.710 & 1681.608 \tabularnewline
\cline{2-10}
\end{tabular}
}
\label{table:errors}
\caption{a caption.}
\end{table}
关于为什么我的表出现错误,您有什么想法吗?
答案1
{c|c|*{7}{c|}}
声明了 9 列,但是
\cline{2-10}
使用第 10 列。