[R] Loop from List in Geospatial Modeling Environment

crudeen crudeen at windjammercable.net
Fri Aug 24 03:33:45 CEST 2012


Does anyone know how to loop in GME using a list of text values.  I am trying
to create home ranges for each animal in a point shapefile of locations. 
Here is an example of the Command Text I am trying to use:

l<-'SGF4037', 'SGF4244';

for (i in ls()){
kde(in=paste("SGF.shp"), out=paste(i,"_SGF.img"), bandwidth="CVh",
cellsize=50, where=paste(”BAND=",ls()));
};

"l" is my list attributes in the "BAND" field.



--
View this message in context: http://r.789695.n4.nabble.com/Loop-from-List-in-Geospatial-Modeling-Environment-tp4641149.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list