(Optional: Install R into your social media consumption. Join twitter and follow everyone on this list: twitter.com/i/lists/983205240215343104 )
Watch some or all of the tutorial videos below, making sure to type the code along with the tutor, and pausing frequently to play with the code so you really understand it, or to try the code on your own dataset.
Getting data into R tutorial. Get his data here (Marin Stats)
Dplyr tutorial (Hefin Rhys)
Dplyr lecture (Kelly Bodwin)
Ggplot tutorial (Hefin Rhys)
Conditional statements and loops tutorial (Hefin Rhys)
Writing functions tutorial (Hefin Rhys)
Another dplyr tutorial (UQ Library)
Intermediate ggplot tutorial (UQ Library)
Tidyverse ‘next steps’ tutorial (UQ Library)
Rmarkdown intro lecture (Kelly Bodwin)
Rmarkdown intro tutorial (Jalayer)
Try the interactive tutorials on this page: rstudio.cloud/learn/primers
The first of these is Hadley Wickham’s R for Data Science book: r4ds.had.co.nz
There is an active Slack community of people using this book. Join it, so you can ask questions. rfordatasci.com
Also, you should try to do all the exercises in the book. But if you get stuck, you can find all the solutions here: jrnold.github.io/r4ds-exercise-solutions
The second, less mature book is the R for epidemiologists book from RECON (R Epidemics Consortium). Find it here: epirhandbook.com
You can join also join the RECON Slack channel here so you can ask questions.
Finally, if you are looking for other books, there is a great list at bigbookofr.com
This can be done at the same time as STEP 3, or once you get bored with STEP 3 (it happens!)
Some possibilities:
Join the tidy tuesday community on twitter and post your plots of the dataset each week.
Try to build a simple shiny app to compete in the RSTUDIO shiny contest
Do your next paper with Rmarkdown