Hi Mikael,
you can use some of the functions in the RSAGA package to extract values
from a file (grid/shapefile) or data.frame and attach them to a
data.frame with point locations.
If I may assume that 'indata' is an grid, try any of
pick.from.ascii.grid
pick.from.saga.grid
rsaga.add.g
Dear readers,
I have one file look like
ew;ns;cu;zn
1234567;7654321;23.4;13.7
name indata
load with read.table command
another file look like
2;cu;zn
name parmlst
also load with read.table
I want to do as follows
cu.v <- as.vector(cu)
zn.v<- as.vector(zn)
but using a for loop, like
for (i in