I am trying to make a table. Following is the sample of the table. But I got Illegal character in array error. I already searched all related question but did not find any solution. What did I do wrong?
\begin{table*}[!ht]
\centering
\caption{Predictor Name and Data Source}
\label{data}
\resizebox{\textwidth}{!}{%
\begin{tabular}{|l|l|l|1|}
\hline
\textbf{Type} & \textbf{Predictor Name} & \textbf{Acronym} & \textbf{Data Source} \\ \hline
\multirow{9}{*}{Predictor} & Company Id & COMID & Lankabd.com \\
\cline{2-4}
& Lower Price & LOWPRCP & Household Size \\
\cline{2-4}
& High Price & HIPRC & Male Literacy \\
\cline{2-4}
& Average Price & AVGPRC & Low Land \\
\cline{2-4}
& Weighted Average Price & WTAVGPRC & Low Land \\
\cline{2-4}
& Trade Number & TRDNO & Low Land \\
\cline{2-4}
& Trade Volume & TRDVOL & Low Land \\
\cline{2-4}
& Issued Share & ISSUEDSHARE & Low Land \\
\cline{2-4}
& Turn Over & TURNOVER & Households \\
\hline
\end{tabular}%
}
\end{table*}
Best Answer
The better way to obtain a table whose width equals that of the textblock is to use a
tabular*
environment.I would also like to suggest that you give your table a more "open" look, by getting rid of all vertical rules and by using fewer, but well-spaced, horizontal rules.