I'm on my phone so I can't verify this but have you tried the apply function?
apply(attri,2,Moran.I,Locate.dists.inv,NA.rm=T)
Michael Weylandt
On Aug 4, 2011, at 4:54 PM, Scott Seely wrote:
> Dear R users,
>
> I have two data frames that consist of statistical information for most
> countries
Dear R users,
I have two data frames that consist of statistical information for most
countries around the world. One dataframe consists of the latitude and
longitude ("coord.csv") of each country, while the other consists of 100's
of different attributes ("countryattri.csv") for each country (lik
2 matches
Mail list logo