Positron is a new R and Python IDE from Posit. You can read more about the new editor here. You will most likely be familiar with Posit if you use RStudio. I stopped using RStudio a while ago and I now use Visual Studio Code for everything I do in R and Python. As such, […]
Category: statistics
How to improve your figures #13: Show the numbers
In academic papers nowadays you will see that researchers – for good reasons – prefer to use figures instead of tables to present data and results. It is usually a lot easier and better to convey a point (or even multiple points) with a figure compared to a good table. However, as anybody who have […]
An overview of ggplot2 themes
In this post I will provide an overview of the categories of complete themes available for ggplot2, the best data visualisation package available for R, bar none. By complete themes I mean functions with the prefix theme_* available in CRAN packages used to customise your ggplot2 plot. In other words, I only consider packages available […]
Introduktion til R #3
Introduktion til R, 2. udgave, ude nu. Køb den før din nabo. Her! I 2022 udgav jeg bogen Introduktion til R på Hans Reitzels Forlag. Bogens primære – hvis ikke eneste – formål var, at klæde læseren på til at bruge R. Det viste sig heldigvis, at der var en efterspørgsel efter sådan en bog, […]
Skal y-aksen starte ved 0?
Jeg faldt over dette fine indlæg af Morten Munster, hvori han beskriver 10 måder, medierne snyder med tal og statistikker. Det er som sagt et fint indlæg, men der var især én pointe, jeg er lodret uenig i. Konkret beskrives det, hvordan y-aksen burde starte ved 0 i en figur, der viser antallet af danskere, […]