Hi, I seem to be able to run it without any problems:
> kendall.global(mite.small) $Concordance_analysis Group.1 W 0.44160305 F 2.37252221 Prob.F 0.04403791 Chi2 15.89770992 Prob.perm 0.04500000 attr(,"class") [1] "kendall.global" It seems to be .Random.seed that is causing the problem, so maybe you can do this before running any of the commands, > set.seed(1) HTH, Vik Rosa Manrique wrote: > > 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. > > -- View this message in context: http://www.nabble.com/kendall.global-tp25977847p25978086.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.