Just a few days ago I stated the following on Twitter: Just reduced the runtime of an algorithm from 9 hours to 3 min. by using a different data structure… Know you data structures 🙂 #rstats — Verena Haunschmid (@ExpectAPatronum) May 1, 2017 Since my tweet has been liked and shared a lot, I thought … Continue reading Know your data structures!
Tag: datatypes
How to handle factors in R
Many people seem to have a problem with factors. This might be because factors do not always behave like you expect them to. Factors are vector like objects, but the items can only take certain values. This post gives a very basic introduction to factors. Introduction and usage Factors can be created from vectors. chr.v … Continue reading How to handle factors in R