有没有办法让notes观星者换行而不是跑掉页面?
stargazer(fit.1, notes="A very very long note that I would like to put below the table, but currently runs off the side of the page when I compile my document. How do I get this to wrap into paragraph form?")
Run Code Online (Sandbox Code Playgroud)
哪个产生:
\hline \\[-1.8ex]
\textit{Notes:} & \multicolumn{2}{l}{$^{*}$P $<$ .05} \\
& \multicolumn{2}{l}{$^{**}$P $<$ .01} \\
& \multicolumn{2}{l}{$^{***}$P $<$ .001} \\
& \multicolumn{2}{l}{A very very long note that I would like to put below the table, but currently runs off the side of the page when I compile my document. How do I get this to wrap into paragraph form?} \\
\normalsize
\end{tabular}
\end{table}
Run Code Online (Sandbox Code Playgroud)
我在手册中找不到任何调整此内容的内容.
小智 9
该notes参数接受一个字符串向量,并将每个字符串放在一个新行上.在您的示例中,以下内容应该有效:
stargazer(linear.1, notes=c("A very very long note that I would like to put below the table,",
"but currently runs off the side of the page",
"when I compile my document.",
"How do I get this to wrap into paragraph form?"))
Run Code Online (Sandbox Code Playgroud)