Plot correctly with `par` Sometimes you have to work with base::plot and to combine multiple plots the solution is e.g. par(mfrow=c(1,2), ...). Unfortunately using par can mess up all...

Is true really true? An often forgotten R-function while developing: isTRUE() and it’s brother isFALSE(). Have you found yourself in the situation that you had to write if (!is....

Keep data.frame a data.frame When writing R functions always remind yourself to think about if it can happen that you accidentally just select one column of a data.frame. This will res...

Plot correctly with `par` Sometimes you have to work with base::plot and to combine multiple plots the solution is e.g. par(mfrow=c(1,2), ...). Unfortunately using par can mess up all...