search for: tagno

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

Did you mean: magno
2006 Sep 13
1
reshaping a dataset
...nes I was performing in SAS. I'm working on stomach content data. In the simplified example I provide below, there are variables describing the origin of each prey item (nbpc is a ship number, each ship may have been used on different trips, each trip has stations, and individual fish (tagno) can be caught at each station. For each stomach the number of lines corresponds to the number of prey items. Thus a variable identifies prey type, and others (here only one, mass) provide information on prey abundance or size or digestion level. Finally, there can be accompanying variabl...
2006 Sep 18
2
merge gives me too many rows
...by" variables, the number of rows of the merged dataframe increases from 177325 to 179690: >dim(test) [1] 177325 9 > test2 <- merge(test, fish, by=c("predateu", "origin", "navire", "nbpc", "no_rel", "trait", "tagno"), all.x=F) > dim(test2) [1] 179690 11 I tried to make a smaller dataset with R commands that I could post here so that other people could reproduce, but merge behaved as expected: final number of rows was the same as the number of rows in the first file named in the call to mer...