Displaying 1 result from an estimated 1 matches for "upex".
Did you mean:
unex
2011 May 23
1
Applying boxplot.stats to multiple value lists
...Name Value
1 aa 1
2 aa 100
3 aa 1
4 aa 1
5 aa 1
6 bb 100
7 bb 100
8 bb 100
9 bb 100
10 bb 1 My aim is to find extreme upper whisker of boxplot (boxplot.stats$stats[5]) of Values for each unique Name.I wrote the folowing function for this upex<-function(x){boxplot.stats(subset(testframe, Name==x, select=Value))$stats[5]} When I test with different strings it works correctly > upex("bb")
[1] 100 > upex("aa")
[1] 1 But the problem is, how to apply this function to the whole dataframe at once, so I would get lis...