Surendra champanerkar <surendrachampanerkar <at> gmail.com> writes:
>
> Hallo
> I am going through the paper on Torus randomization by Kyle E. Harms
> torus randomization is an alternative to Chi-sq test of Independence When
> the assumption of independence within the groups is violated
>
> i want to know that Is there any library regarding torus randomization
> Someone said me that its in Utility.r but i could not find out this
>
> please help me in this regard
>
I know the work you're referring to, but I don't know
whether Harms wrote the original code in R (quite possibly)
or whether someone has translated it (also quite possible).
"Someone told me there was a function in Utility.r" (freely
translating from your post) isn't enough information
for us to go on ... why don't you go back to whoever
told you and ask for more information? Or write
to the author and ask him?
Here are a couple of the results of RSiteSearch("torus")
that are likely to be relevant to your question
(especially the second).
http://finzi.psych.upenn.edu/R/library/hdeco/html/shift.html
http://finzi.psych.upenn.edu/R/library/spatstat/html/rshift.ppp.html
You might also try further queries on the r-sig-eco list
or the r-sig-spatial list, since this is a fairly specialized
question ...
good luck
Ben Bolker