单项选择题

A.mean(x)
B.mean(x,trim =0.05,na.rm=TRUE)
C.diff(x)
D.mad(x)