x<-c(1:10) x sort(x) sort(x, decreasing=T) mean(x) median(x) quantile(x) diff(range(x)) var(x) sd(x)