Calculate Best Linear Unbiased Estimates using linear mixed model from nlme package
nlme
Useful links