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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -