- median
- sum
- mean
- min
- max
Some basic statistical functions
examples/vectors/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