search for: yfn2005

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

2009 Oct 12
1
Binding objects with a similar name
...newdataset$target_species)) for(i in newsplit){ by.year<-split(i,list(i$year)) for(a in by.year){ assign(paste(a$target_species[1],a$year[1],sep=""),sum(a$total_hook_num)) } } The end result is a single value for the number of hooks in a particular year for a particular species (e.g. YFN2005<-2320) for every species/year. This results in number of individual objects being created, as you can see from ls(). I need to bind objects that have the same "target_speices" name, in order of year e.g. ALBtimeseries<-cbind(ALB1989, ALB2990,.....,ALB2009). My questions are: is...