Skip to content

what is geary.intern() in code geary() ?

2 messages · ria arinda, Roger Bivand

#
I just looked code geary function in R and see there is geary.intern() inside
the function code. I wonder what it is used for. Could anybody explain to
me?
Thanks



-----
Ria Arinda
Jakarta Institute of Statistics, Indonesia
Tel:  +62 856 1675312
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/what-is-geary-intern-in-code-geary-tp7580662.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
#
On Thu, 2 Aug 2012, ria arinda wrote:

            
It calls compiled code - the source is in spdep/pkg/src/gearyw.c which you 
can see on R-Forge https://r-forge.r-project.org/, SCM tab -> browse 
source. If you look in the oldest version of spdep/pkg/R/geary.R, you'll 
see the R version of what the C code does - the C code runs faster.

Roger