Skip to content
Prev 7022 / 29559 Next

ascii multicollinearity

Hakim Abdi wrote:
Hi,

You can read the asciigrids in to R using rgdal (readGDAL function). A 
handy way to calculate the linear correlation between the variables is 
to combine them into a data.frame (where each grid is a long vector, 
i.e. a column, in the data.frame) and use the cor() function. Do check 
what assumptions are made when calculating the correlation, for example 
what the influence is when the data is spatially correlated.
doesn't seem like a problem to me, but try and see.

cheers,
Paul