Re: [R-sig-Geo] extract values to points

2009-03-12 Thread Frauke Barthold
overlay() command from the sp > >>> package, try running this example: > >>> > >>> # Load data > >>> library(sp) > >>> data(meuse) > >>> # point data > >>> coordinates(meuse) = ~x+y > >>> data(meuse.grid) > &g

[R-sig-Geo] extract values to points

2009-03-05 Thread Frauke Barthold
Dear list, I have a soilmap as an Ascii grid and a dataframe with x and y coordinates (these are sampling points). I would now like to extract values from the soilmap to the dataframe based on location, the x and y values. Is there any way to do this in R? Cheers, Frauke _

[R-sig-Geo] AsciiGridPredict() returns error message

2009-02-25 Thread Frauke Barthold
Dear List, I am requesting help for the application of AsciiGridPredict() in the yaImpute package. I am trying to spatially predict my Y variable using a randomForest Model. It seems to be a straightforward function but I am getting error messages that I do not understand. My Y variable