This is a simple wrapper around mean(x, trim)

tmean(x, trim = 0.25, na.rm = TRUE)

Arguments

x

A numeric vector

trim

the amount to trim

na.rm

Whether or not to remove NA values. Default = TRUE.