R Tutorial: Random-effects in regressions