Thank you very much. Yes it is working with oecosimu, exept that it does not seem to work for weighted data. There is the possibility to specify "weighted = TRUE":
oecosimu(matrix,nestednodf, method = "quasiswap", nsimul = 999, order = FALSE, weighted =TRUE)
However, I get only null values and p=1. For weighted = F, I get good values.
Best wishes
___________________________________________________________
Quiz TV : Vous ?tes fan de la s?rie "Friends" ? 5 questions ici http://tv.voila.fr/quiz/quiz-special-friends_14538959.html