Hacking

Basic statistics of a set of values

March 9, 2009
Hacking, Statistics

Basic statistics of a set of values # Just in order to find that when searching for it yet another time: Problem: You have a set of values (for instance time it took to process various queries). You want a quick overview of how the values are distributed. Solution: Store the values in a file separated by newline, read the file with R and output summary statistics. R: times <- scan(“times”, list(0)) ...