search for: gadus

Displaying 2 results from an estimated 2 matches for "gadus".

Did you mean: radus
2011 Mar 31
1
Italicized title from index
...of my graphs- which worked fine. However, I need to italicize these species names. I originally used the paste function, and had no problems with indexing: *main=paste("Yield for ", testsub[1,3], " in management region ", testsub[1,2])* The title looks like: "*Yield for Gadus morhua in management region 4X5Y*" I tried bquote from a related help thread, I tried to emulate it: *spp<-testsub[1,3]* *region<-testsub[1,2]* * * *main=bquote(Yield ~ for ~ italic(.(spp)) ~ in ~ management ~ region ~ .(region))* Which doesn't seem to work at all, but when I try...
2012 May 19
4
weighted averages for two variables
Hi R users, I have a dataset with multiple variables and i'm trying to weigh average depths for fish species per year by their abundance (CPUE. I have tried the weighted.mean function but as i have two columns for the x value the lenghts differ with the w (CPUE). How do I solve this problem? So far I have tried this: data<-by(allspecies, list(allspecies$Depth, allspecies$Year),