search for: solea

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

Did you mean: sole
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),
2008 Apr 07
2
Matching pairs from two data frame
I am looking for a solution to match 2 dataframes from pairs of values (x and y) as indicated thereafter : First dataframe : DATA1 x y a 1 30 40 0.2 2 21 130 0.3 Second dataframe DATA2 x y b 1 30 40 1 2 40 30 3 3 20 40 7 4 11 30 2 5 130 250 15 6 21 130 17 expected Results : DATA3 x y a b 1 30 40 0.2 1 2