Some basic statistical functions



examples/statistics.R
distances = c(11, 12, 13, 14, 15, 16, 17, 180, 7, 11)

sum(distances)
median(distances)
mean(distances)   # average
min(distances)
max(distances)
var(distances)    # variance
st(distances)     # standard deviation