Learning R - How to create a dataframe

In this article I am going to show you three different ways to create a dataframe in R: Creating a new data frame row-wise Doing it in column notation Creating an empty data frame Creating a new dataframe by hand A dataframe is, pretty much, just like a sheet in an Excel workbook. It’s a lot better in many ways, but if you are just starting out learning R that’s the image you should start with.

Continue reading

Remembering R – Using Spaced Repetition to finally write code fluently

Reading Time: 17 Minutes (25 Minutes including Appendix) Writing R slower than a snail Let me give you the setting: it’s June, it’s really nice outside, and my friends are enjoying the lake near the University. I, on the other hand, am making so little progress on my MA thesis that I’m not at the lake and chilling. I am sitting in the library with the AC turned to freezing, which means that I need to wear a sweater even in Summer.

Continue reading