search for: humanneph

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

2008 Feb 21
2
Problems with aggregate
...cates in the first column, all with different corresponding values in the second column. For example (2 is duplicated): 2 3.2 15 1.2 2 8.4 8 9.2 7 0.4 I used the following code to aggregate these based on the first column and get the min and max: min<-aggregate(as.numeric(humanneph[,2]), list(as.numeric(humanneph[,1])), min) max<-aggregate(as.numeric(humanneph[,2]), list(as.numeric(humanneph[,1])), max) Both worked beautifully! THEN, I accidentally overwrote the object min. Since I hadn't touched the object humanneph, I copied the above code from my saved hi...