Re: [R] Cross correlation/ bivariate/ mantel

From: McClatchie, Sam (PIRSA-SARDI) <mcclatchie.sam_at_saugov.sa.gov.au>
Date: Tue 23 May 2006 - 10:31:10 EST


Thanks Spencer

"Give a wo/man a fish and s/he becomes an aid dependent, give a wo/man a rod and s/he becomes a fisherman"

Sam

>-----Original Message-----
>From: Spencer Graves [mailto:spencer.graves@pdf.com]
>Sent: Tuesday, 23 May 2006 9:58 AM
>To: McClatchie, Sam (PIRSA-SARDI)
>Cc: r-help@stat.math.ethz.ch
>Subject: Re: [R] Cross correlation/ bivariate/ mantel
>
> RSiteSearch("mantel statistic") produced 27 hits for
>me, but the first few suggested I might not find enlightenment there.
>RSiteSearch("spatial statistics") returned 1064 hits, so I
>restricted that to RSiteSearch("spatial statistics",
>"functions"). The first of those was a director for the
>'spdep' package. A search for "Mantel" on that page
>identified "plot.mc.sim: Mantel-Hubert spatial general cross
>product statistic". I haven't tried it. I know nothing more
>about it than what I've already told you.
>
> I hope you'll forgive the terrible pun if I say that
>I hope I not only gave you a fish, I showed you how I caught it.
>
> Best Wishes,
> Spencer Graves
>
>McClatchie, Sam (PIRSA-SARDI) wrote:
>>> Background:
>>> OS: Linux Ubuntu Dapper
>>> release: R 2.3.0
>>> editor: GNU Emacs 21.4.1
>>> front-end: ESS 5.2.3
>>> -----------------------------
>>> Colleagues
>>>
>> I have two spatial datasets (latitude,
>longitude, fish eggs) and (latitude, longitude, fish larvae)
>at the same 280 stations (i.e. 280 cases). I want to determine
>if the 2 datasets are spatially correlated. In other words, do
>high numbers of larvae occur where there are high numbers of
>eggs? I would like to calculate the cross correlation for
>these bivariate data and calculate a Mantel statistic as
>described on pg. 147 of Fortin and Dale 2005 "Spatial analysis".
>>
>> My search of R packages came up with
>acf and ccf functions but I don't think these are what I want.
>Does anyone know which spatial package I might find the
>appropriate test, please?
>>
>>> Best fishes
>>>
>>> Sam
>>> ----
>>> Sam McClatchie,
>>> Biological oceanography
>>> South Australian Aquatic Sciences Centre PO Box 120, Henley Beach
>>> 5022 Adelaide, South Australia email
>>> <mcclatchie.sam@saugov.sa.gov.au>
>>> Cellular: 0431 304 497
>>> Telephone: (61-8) 8207 5448
>>> FAX: (61-8) 8207 5481
>>> Research home page <http://www.members.iinet.net.au/~s.mcclatchie/>
>>>
>>> /\
>>> ...>><xX(>
>>> //// \\\\
>>> <)Xx><<
>>> ///// \\\\\\
>>> ><(((>
>>> >><(((> ...>><xX(>O<)Xx><<
>>>
>>
>> [[alternative HTML version deleted]]
>>
>>
>>
>>
>----------------------------------------------------------------------
>> --
>>
>> ______________________________________________
>> R-help@stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide!
>> http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 23 11:47:28 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 23 May 2006 - 12:10:19 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.