Stargazer notes line wrap?

后端 未结 2 1694
清酒与你
清酒与你 2020-12-19 02:13

Is there a way to get notes in stargazer to wrap lines instead of running off the page?

stargazer(fit.1, notes=\"A very very long note that I wo         


        
2条回答
  •  醉话见心
    2020-12-19 02:36

    The notes argument accepts a vector of character strings, and will put each on a new line. In your example, the following should work:

    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?"))
    

提交回复
热议问题