Dear Colleagues,

Good day!

Anyone had experience replacing map attribute/data frame (i.e. map@data) with other data frame using loop. I have maps of A,B, and C and I have a data frames of a1,b1, and c1. How can I replace/merge  the data frames them using loop? So far below is the code that I used to deal with my problem.


A@data<-a1 #  replace map A attribute data with a1 data frame
B@data<-b1 #  replace map B attribute data with b1 data frame
C@data<-c1 #  replace map C attribute data with c1 data frame

I need to implement the code above using loop for to handle more maps and data frame. Any help is very much appreciated.
Thanks inadvance.


Arnold
	[[alternative HTML version deleted]]

