My own mean function

my_mean(x)

Arguments

x

vector, of numbers

Value

numeric, the computed mean

Examples

my_mean(1:10)
#> [1] 5.5