[R] Paste problem when looping variable assignments

armstrwa William.Armstrong at noaa.gov
Fri Apr 22 19:49:49 CEST 2011


One thing I should have mentioned before is that "pds_gagehandles" is a
character vector that contains the site names that I am interested in.  An
example of a site name is "saho".

So with with the paste function, I am trying to get R to assign a variable
with the site name followed by "_potwy".  For example, I am trying to create
a vector of events/year named "saho_potwy".

Thanks again.

Billy

--
View this message in context: http://r.789695.n4.nabble.com/Paste-problem-when-looping-variable-assignments-tp3468414p3468429.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list