Data Science is all about building good models, so let us start by building a very simple model: we want to predict monthly income from age (in a later post we will see that age is indeed a good predictor for income).

Continue reading “Learning Data Science: Modelling Basics”

# Category: Learning R

Posts about learning R

## Hash Me If You Can

We are living in the era of Big Data but the problem of course is that the bigger our data sets become the slower even simple search operations get. I will now show you a trick that is the next best thing to magic: building a search function that practically doesn’t slow down even for large data sets… in base R!

Continue reading “Hash Me If You Can”

## Learning R: A Gentle Introduction to Higher-Order Functions

Have you ever thought about why the definition of a function in R is different from many other programming languages? The part that causes the biggest difficulties (especially for beginners of R) is that you state the name of the function at the beginning and use the assignment operator – as if functions were like any other data type, like vectors, matrices or data framesâ€¦

Continue reading “Learning R: A Gentle Introduction to Higher-Order Functions”