useR 2022 | Next - Issue #34





Subscribe to our newsletter

By subscribing, you agree with Revue’s Terms of Service and Privacy Policy and understand that Next — Today I Learned About R will receive your email address.

Hi there,
My roommate Tagg is probably the best-dressed person I’ve ever met. His style is personal, catchy and charming. Unless you risk being as boring as Steve Jobs, deciding what to wear is not easy. How to find your style? This comic, written by Mayowa Aina and illustrated by LA Johnson, is here to help.
Let’s dive into today’s stories.

Five Stories
useR, the official R conference by the R Project and R Foundation, is scheduled this month between June 20 and 23. The three-day schedule includes six keynotes, 18 tutorials and dozens of talks and poster presentations. Here’s the complete program.
The registration fees depend on your country — fees are waived for low-income countries. Register now!
Timelines are an easy way to represent sequential information. Of all the tools I found recently, this one from Knight Lab is the easiest for general users. Plus, it’s completely free!
How to Use TimelineJS on Vimeo
How to Use TimelineJS on Vimeo
Word clouds represent words in a text in an informative and beautiful way. Typically, the frequency of the word is signified by the size of the word. Spencer’s tutorial teaches us how to create creative word clouds, in shapes that aren’t rectangular (rectangular ones are easy, of course, courtesy wordcloud package).
He uses lyrics of songs in the Eurovision contest. And builds the clouds with wordcloud2 package that has many more functionalities. Check it out!
4. R Screencasts
Greg Wilson once said:
Just before I left the University of Toronto, I asked several people to record their desktops while solving a small data analysis problem. The result shook me: the times ranged from just under four minutes to just under 38 minutes, and I would not have been able to tell which was which from the code they produced.
Screencasts are an excellent way to learn to code. Unlike following textual mediums, they allow viewers to understand how good coders think and arrive at solutions: what broken solutions they try till something sticks.
This website consists of a host of screencasts by David Robinson, accompanied by their codes and datasets. It is an amazing resource, all available for free. Dive in!
Jess Hartnett’s blog is an excellent repository for people looking to teach statistics to be fun. Mathematics relies on certainties, and statistics guides you through uncertainties: that’s why scientists love it.
Updated approximately every week, the blog covers examples like how wearables like Apple Watch and Fitbits are changing how we collect medical data, or why historical life expectancies don’t mean people died at 45, but that high infant mortality rate brought the average down.
Whether you’re a stats instructor or not, this would be enlightening.
Four Packages
wordcloud2 is an advanced package to build word clouds in R. Prefer this over wordcloud. See the vignette here.
chronicler adds a detailed log to your functions, which helps in debugging. See the vignette here.
tidylog adds logging to dplyr functions. This is extremely useful in understanding how many rows were mutated, joined, etc. See the vignette here.
superheat can create a heatmap that can provide a better way to understand variables’ distribution. Think scatterplot++. See the vignette here.
Three Jargons
The law of the averages or regression to the mean is a canonical law which states that most future events are likely to balance any past deviation from a presumed average.
Air force pilot trainers observed that pilots that performed amazing in their first training performed average in their second training, and pilots that performed average in their first training performed much better in their second training. This could be a classic example of regression to the means.
The same was also observed with companies. Those that showed high stock price rises in the initial years after an IPO had a more humble growth soon after — and vice versa (Malcolm Gladwell’s Outliers).
The exponential smoothing technique (EST) is used for smoothing time-series data using the exponential window function. Unlike simple moving averages which value each past observation equally, EST puts exponentially decreasing weights.
Two Tweets
Lucy H. 😷🐈🥐
oh god, i would of never even thought these small details would be a problem
Jacqueline Nolis 🏳️‍⚧️
On June 22nd at 2pm ET I'm going to be giving a webinar on how to give your Shiny apps ✨style✨.

CSS! Bootstrap! HTML! And more! And it'll be a follow-along webinar where you will be coding Shiny right along with me
One Meme
Here are some fantastic blogs I enjoyed reading:
That's a wrap!
I hope you learned something new today. As always, your feedback and suggestions are always welcome. See you next week!
Did you enjoy this issue? Yes No
Harshvardhan @harshbutjust

A short and sweet curated collection of R-related works. Five stories. Four packages. Three jargons. Two tweets. One Meme.

List of all packages covered in past issues:

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.
Knoxville, Tennessee.