April 2020

Upset Plots

April 16, 2020 | R on kieranhealy.org

The other day Nature reported some preliminary results from a study of COVID-19 symptoms that’s being carried out via a phone app. The report noted that loss of sense of smell (or “Anosmia”) seemed to be a common symptom. The report was accompanied by this graphic, showing the co-occurrence ... [Read more...]

N is for n_distinct

April 16, 2020 | Unknown

Today, we'll start digging into some of the functions used to summarise data. The full summarise function will be covered for the letter S. For now, let's look at one function from the tidyverse that can give some overall information about a dataset: n...
[Read more...]

State Unemployment Claims

April 15, 2020 | R Views

In today’s Reproducible Finance post, we will explore state-level unemployment claims which get released every Thursday. The last few weeks have shown huge spikes in those claims, of course, due to the coronavirus and statewide lockdown orders, and it got me wondering how these times will look to data ...
[Read more...]

Engineering salaries revisited

April 15, 2020 | n n R Analystatistics Swedenn

For a couple of posts, I have analysed what predictors affect the education level in Sweden. In this post, I will return to analysing the salary of engineers and I will try to use my experiences from studying the education level. Statistics Sweden use NUTS (Nomenclature des Unités Territoriales ... [Read more...]

M is for mutate

April 15, 2020 | Unknown

Today, we finally talk about the mutate function! I've used it a lot throughout the series so far, so it's nice to get to discuss what it is and how it works.The mutate function is used anytime you want create or modify a variable. It works with pretty much ...
[Read more...]

Setting the Graphics Device in a RMarkdown Document

April 15, 2020 | Colin Gillespie

In our recent post about saving R graphics, it became obvious that achieving consistent graphics across platforms or even saving the “correct” graph on a particular OS was challenging. Getting consistent fonts across platforms often failed, and for the default PNG device under Windows, anti-aliasing was also an issue. The ...
[Read more...]
1 7 8 9 10 11 17

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)