avg.Rd
Returns an average from a numeric vector, automatically removes all NA values.
avg(vec)
a numeric vector
avg(c(10, 10, 10, NA)) #> [1] 10