![]() As Yihui Xie puts it, “printing objects in R code chunks basically emulates the R console.” This default output leaves much to be desired. ![]() ![]() If you are using RMarkdown (and, if you’re not, you should really consider it), any data frame that you call in a code chunk is displayed using the data frame printing method set in your YAML. Customizing Default Table Output in RMarkdown But what about tables? Fortunately for R users, there are many ways to create beautiful tables that effectively communicate your results. Data visualization in R is a huge topic (and one covered expertly in Kieran Healy’s Data Visualization: A Practical Introduction and Claus Wilke’s Fundamentals of Data Visualization). Along with narrative text, these make up the bulk of content used to communicate results.Ĭlear writing is a topic for another venue. In most reports, communication of results happens through a combination of data visualization and tables. It doesn’t matter how good your data analysis is if you don’t effectively communicate your results. Updated Mawith info on the reactablefmtr and gtextras packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |