[R-sig-Geo] what is geary.intern() in code geary() ?

Roger Bivand Roger.Bivand at nhh.no
Thu Aug 2 23:48:34 CEST 2012


On Thu, 2 Aug 2012, ria arinda wrote:

> 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?

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

> 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.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the R-sig-Geo mailing list