Is there a way to get page-width tables by slightly revising the tex code generated from Stargazer?
Tex code generated from Stargazer does not adjust the table's width, so it is often too long or narrow.
A short example of the original Stargazer code is as follows. You could offer advice applied to the code. That is, how to slightly revise the code so that the table width fits the page width in a way not scaling the table.
\begin{table}[!htbp] \centering
\caption{}
\label{}
\begin{tabular}{@{\extracolsep{5pt}}lD{.}{.}{-3} }
\\[-1.8ex]\hline
\hline \\[-1.8ex]
\\[-1.8ex] & \multicolumn{1}{c}{Duration Gap in 0.5M} \\
\hline \\[-1.8ex]
Constant & 8.496^{***} \\
& (0.060) \\
& \\
\hline \\[-1.8ex]
Observations & \multicolumn{1}{c}{2,241} \\
R$^{2}$ & \multicolumn{1}{c}{0.820} \\
Adjusted R$^{2}$ & \multicolumn{1}{c}{0.820} \\
\hline
\hline \\[-1.8ex]
\end{tabular}
\end{table}
I found the solutions, such as using \resizebox, but the scales of the table are changed.
Other solutions using different packages (i.e. tabularX), seem to need many changes in the code generated from Stargazer. Is there a way to get page-width tables using the Stargazer code without making many changes?