Hi every body: I need some help with kendall.global. The example in the manual seems not working well, and cannot used with my data, always the same error.
data(mite) > mite.hel <- decostand(mite, "hel") > > # Reproduce the results shown in Table 2 of Legendre (2005), a single group > mite.small <- mite.hel[c(4,9,14,22,31,34,45,53,61,69),c(13:15,23)] > kendall.global(mite.small) Errore in FUN(newX[, i], ...) : .Random.seed is not an integer vector but of type 'list' > kendall.post(mite.small, mult="holm") Errore in sample(R.gr[, j]) : .Random.seed is not an integer vector but of type 'list' > > # Reproduce the results shown in Tables 3 and 4 of Legendre (2005), 2 groups > group > <-c(1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,2,1,2,1,1,1,1,2,1,2,1,1,1,1,1,2,2,2,2,2) > kendall.global(mite.hel, group=group) Errore in FUN(newX[, i], ...) : .Random.seed is not an integer vector but of type 'list' > kendall.post(mite.hel, group=group, mult="holm", nperm=99) Errore in sample(R.gr[, j]) : .Random.seed is not an integer vector but of type 'list' Thank you very much if you know how to solve it. Rosa. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.