[R] Mantel's randomization test
Philippe Grosjean
phgrosje at ulb.ac.be
Mon Apr 30 23:13:59 CEST 2001
Hello,
> Years ago I coded this in S-PLUS ... I think it's been posted to the
>S-news list before. It seems to work just fine in R. I have not tested
>it at all, so it comes with the usual warranty (i.e., none).
> Just cut on the dotted lines and source() the file.
> One example (someday I'll package this all up and write a help file
>etc.).
>q1 _ matrix(runif(36),nrow=6)
>q2 _ matrix(runif(36),nrow=6)
>mantel(q1,q2,graph=TRUE,rpt=200)
One of my jobs is to assemble a Splus/R library of statistical methods used
in numerical oceanography. It will probably be distributed next year. I
could be interested by inserting your Mantel test code if (1) it is public
domain or GPL and (2) if you would like to give some indications of its
origin (I mean, your name, email,...) which is not specified in the code you
posted in your message.
Sincerely,
Philippe Grosjean
...........]<(({?<...............<?}))><...............................
) ) ) ) ) __ __
( ( ( ( ( |__) | _
) ) ) ) ) | hilippe |__)rosjean
( ( ( ( ( Marine Biol. Lab., ULB, Belgium
) ) ) ) ) __
( ( ( ( ( |\ /| |__)
) ) ) ) ) | \/ |ariculture & |__)iostatistics
( ( ( ( (
) ) ) ) ) e-mail: phgrosje at ulb.ac.be or phgrosjean at sciviews.org
( ( ( ( ( SciViews project coordinator (http://www.sciviews.org)
) ) ) ) ) tel: 00-32-2-650.29.70 (lab), 00-32-2-673.31.33 (home)
( ( ( ( (
) ) ) ) ) "I'm 100% confident that p is between 0 and 1"
( ( ( ( ( L. Gonick & W. Smith (1993)
) ) ) ) )
.......................................................................
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list