See https://sbalci.github.io/MyRCodesForDataAnalysis/ for R codes I am collecting.