Thanks to everyone who replied to my first problem. Here is the second one: Is the function "lme" (Mixed Model) also in a foreign library(shouldnt, as this is a basic statistical function)? I am trying to use lme in R and it replies that it couldnt find the function lme...weird... Thanks for replying!