meanf function

mean with na.rm TRUE