Articles by R on Amit Levinson

Learning Tfidf with Political Theorists

May 30, 2020 | R on Amit Levinson

Thanks to Almog Simchon for insightful comments on a first draft of this post. Introduction Learning R for the past nine months or so has enabled me to explore new topics that are of interest to me, one of them being text analysis. In this post I’ll explain what ...
[Read more...]

Israeli elections on Twitter

April 19, 2020 | R on Amit Levinson

Introduction Israel had its 3rd election within 12 months on March 2, 2020. This is because our Knesset - Hebrew term for house of representatives - wasn’t able to form or hold a government after each of the previous elections. As I won’t get into the politics of why they didn’...
[Read more...]

Making updating exam grades easy with R

February 14, 2020 | R on Amit Levinson

TL;DR Instead of each time searching for an id in the xlsx template the university provides we make our own xlsx and merge between the two. I then run through two options of either saving the new data frame as an .xlsx using the {xlsx} package, and I show ...
[Read more...]

Visualizing Eliud Kichoge’s new marathon record

February 6, 2020 | R on Amit Levinson

Figure 1: Eliud Kipchoge breaks the two-hour marathon barrier. Photo from the ‘New York Times’. Leonhard Foeger/Reuters Table of Contents Background Retrieving data from wikipedia Warngling the Data Plot ggimage Plot Aesthetics Final annotation Appendix Background On saturday October 12, 2019, Eliud Kipchoge broke (unofficially) the two-hour marathon barrier 🏆 I saw Neil ...
[Read more...]

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)