3 ms·
These tutorials are from 2014. While they provide a good overview of R syntax, a lot has been added to the R-verse such as dplyr, which the author primarily use
by minimaxir 10y ago
These tutorials are from 2014. While they provide a good overview of R syntax, a lot has been added to the R-verse such as dplyr, which the author primarily used for his Trump Tweets blog post yesterday.
If you are interested in learning R, you may want to read the R for Data Science book (http://r4ds.had.co.nz/ http://r4ds.had.co.nz/) book by dplyr (and ggplot2) author Hadley Wickham.
Relatedly, I have my own (slightly more complicated) notebooks using R/dplyr/ggplot2, open-sourced on GitHub, if you want further examples of real-world analysis with publically-available data along the lines of the Trump Tweet analysis:
Processing Stack Overflow Developer data: https://github.com/minimaxir/stack-overflow-survey/blob/master/stack_overflow_dev_survey.ipynb https://github.com/minimaxir/stack-overflow-survey/blob/mast...
Identifying related Reddit Subreddits: https://github.com/minimaxir/subreddit-related/blob/master/find_related_subreddits.ipynb https://github.com/minimaxir/subreddit-related/blob/master/f...
Determining correlation between genders of lead actors of movies on box office revenue: https://github.com/minimaxir/movie-gender/blob/master/movie_gender.ipynb https://github.com/minimaxir/movie-gender/blob/master/movie_...
- daveguy 10y agoTook me a while to find the Trump Tweets blog you referred to. It is here for anyone trying to find it: http://varianceexplained.org/r/trump-tweets http://varianceexplained.org/r/trump-tweets By the author of the tutorial, not the poster of the link.
- _Wintermute 10y agoWhile the tidy-verse and data.table are definitely game changers for R, it's still worth learning the basics. Often the packages make irritating tasks easy, though they rarely touch the tasks that are easy in base R. I've seen some pretty convoluted dplyr from newcomers that could have been achieved in a single line without loading any packages.
- var_explained 10y agoCourse author here; I agree about most of the lessons being outdated in the last two years, and that R for Data Science is a great modern source. I'm working with DataCamp to develop an R course that covers dplyr, tidyr, and other newer additions to the R language.
- minimaxir 10y agoGood to hear! :)