search for: _pdswy

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

Did you mean: _dsw
2011 Apr 22
1
Paste problem when looping variable assignments
...oblem is that I am trying to switch the name of a variable for each iteration of the loop. I am using a paste function on the left side of a "<-" statement, which R doesn't seem to like. I am trying to create a variable for each site I am looking at (with the format "sitename_pdswy") that contains how many events occurred in a given year, which I want to use in further calculations. I keep getting the following error message: Error in paste(pds_gagehandles[[i]], "_pdswy", sep = "") <- POTWY_cut : could not find function "paste<-"...