Blog Archives

Adding different annotation to each facet in ggplot

November 6, 2018
By
Adding different annotation to each facet in ggplot

Help! The same annotations go on every facet! (with thanks to a student for sending me her attempt). This is a question I get fairly often and the answer is not straightforward especially for those that are relatively new to R and ggplot2. In this post, I will show you how to add different annotations… Continue reading Adding different...

Read more »

Communicate your work with animated graphs in R!

July 25, 2018
By
Communicate your work with animated graphs in R!

It’s easy to animate graphs in R In this post am I going to show you how easy it is to animate figures in R thanks to the great ggplot2 extension gganimate written by Thomas Lin Pedersen and David Robinson This is something you might want to do to increase the impact of your work… Continue reading Communicate your...

Read more »

R Code Anatomy

July 12, 2018
By

It’s a challenge for an experienced user to remember what it was like to be totally new to R and come up with explanations that don’t draw on understanding developed subsequently. Terminology with which you have become very familiar is, in fact, jargon. So I asked a novice, Elliot, to explain a piece of code… Continue reading R Code...

Read more »

RStudio Anatomy

July 4, 2018
By

RStudio makes R easier to use. It includes a code editor, debugging & visualization tools. I love it but when beginners launch RStudio they are sometimes confused by all the panes and tabs. Here I have tried to give a quick visual guide to the anatomy of RStudio for people new to R, coding and RStudio. I’d love… Continue reading RStudio Anatomy...

Read more »

It’s easy to cite and reference R!

June 15, 2018
By

Remember to reference R When people are new to using R and, perhaps, to referencing and report writing in general, they often don’t know they should cite and reference R and its packages. We do this for the same reasons we reference any thing else in any academic work. We need to support our arguments… Continue reading It’s easy...

Read more »

Fun and easy R graphs with images

June 13, 2018
By
Fun and easy R graphs with images

Code for fun I feel passionately that anyone can learn some coding but many feel they lack natural aptitude for it. One of the things I always try to stress to those I am teaching is that it matters very much less what you do than that do you it. It doesn’t matter how small… Continue reading Fun and...

Read more »

Not all common gulls are Common Gulls…

June 7, 2018
By

 … and non-normally distributed data can be normal One of the underlying assumptions of many statistical methods is that the data (or the model residuals) are normally distributed. I teach students to evaluate this assumption with plots and normality tests. When they find their data do not seem to be normally distributed, they often report:… Continue reading Not all...

Read more »

Search R-bloggers


Sponsors

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)