简体   繁体   English

如何向 stargazer() 标题添加新行?

[英]How to add a new line to a stargazer() title?

I am printing descriptive statistics using stargazer().我正在使用 stargazer() 打印描述性统计数据。

stargazer(datdbb,out = "Summary.html",title = "Summary Statistics \\\\ 1970-1998")

I tried to add a new line to the title between Summary Statistics and 1970-1998 but unfortunately, it does not work.我试图在 Summary Statistics 和 1970-1998 之间的标题中添加一个新行,但不幸的是,它不起作用。 Does anyone know how to add a new line to the title?有谁知道如何在标题中添加新行?

在此处输入图像描述

stargazer(datdbb,out = "Summary.html",title = "Summary Statistics \\n\ 1970-1998")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM