Summary of numeric data



examples/vectors/summary_of_numeric.R
nums = c(2, 4, 5)
sum(nums)
mean(nums)
max(nums)
min(nums)
median(nums)
summary(nums)

examples/vectors/summary_of_boolean.R
bools = c(T, F, T, T, F)
summary(bools)
mean(bools)
max(bools)
min(bools)
sum(bools)

examples/vectors/summary_of_strings.R
names = c("biology", "chemistry", "physics")
summary(names)
#mean(names)
max(names)
min(names)
#sum(names)