search for: ps98

Displaying 1 result from an estimated 1 matches for "ps98".

Did you mean: pc98
2010 Mar 29
2
naming consecutive objects
...op: a<-c(1:98) for (i in a ) { cbind(vor.tile[[i]]$x, vor.tile[[i]]$y)->p rbind(p,c(p[1,]))->p.c Polygon(p.c)->pc.p Polygons(list(pc.p),sprintf("p%s",i))->pc.ps sprintf("pc.ps%s",i)<-pc.ps } I need to obtain 98 pc.ps objects (like: pc.ps1, pc.ps2....pc.ps98) but I d'ont use sprintf for it. How can made it? many tanks in advance -- View this message in context: http://n4.nabble.com/naming-consecutive-objects-tp1694985p1694985.html Sent from the R help mailing list archive at Nabble.com.