How to use multiples objects in a function on R -


i'm new in programing i'm in r. have multiples objects similar names (ams.1,ams.2,ams.3, etc) , run function (it's function "crop" package) them , assign new objects (data.final.1, data.final.2) result. that:

for(x in 1:119) {  assign(paste("data.final", x, sep = "."),crop(a,ams.(x))) } 

apparently not working. ideas?


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -