Fixed and random effects panel regression in R using 'plm' package