
次のスクリーンショットにパーセンテージ列を配置する方法がわかりません。
これまで試してみたことは次のとおりです。
\documentclass{article}
\usepackage{array, makecell, multirow}
\begin{document}
\begin{table}[htbp]
\renewcommand{\thetable}{\Roman{table}}
\setlength{\extrarowheight}{2pt}
\caption{Classification Table}
\label{tab:confusion-matrix}
\begin{center}
\begin{tabular}{|c|c|c|c|}\hline
\multicolumn{2}{|c|}{N=260}
& \multicolumn{2}{c|}{\bfseries Predicted} \\
\cline{3-4}
\multicolumn{2}{|c|}{} & \thead{Absent Nomophobias} & \thead{Has Nomophobia}\\
\hline
\multirowcell{2.7}{\bfseries Actual}
& \thead{Absent Nomophobia} & 4 & 15\\
\cline{2-4}
& \thead{Has Nomophobia} & 3 & 238\\
\hline
\end{tabular}
\end{center}
\end{table}
\end{document}