Category: Basics

  • A small realisation

    A short entry about one small conclusion I reached AGAIN recently. Maybe for the n-th time, but I am now putting words to it. Please bear in mind though, this obviously does not always apply (I don’t know if the following bullet points will be misinterpreted somehow, I hope not :). Let just say, it…

  • More R for math

    Intro A real quick post about a couple of math (matrix) details, and a trick with rational numbers with R. Inverse of a Matrix Mathematically, getting to the inverse of an “nxn” matrix A means finding an nxn matrix B such that A • B = I, where I is the nxn Identity matrix. Easier…

  • dplyr is not faster

    Intro The other day, someone asked in a Telegram group how to go about changing some factor with 4 levels to another set of factors with two levels, in R. So you had originally factors A, B, C, and D, and the new factor would be X for the first 3 cases, and Y for…