powered by
Internal cluster functions.
meanabsdev(y)
numeric vector.
These are not to be called by the user.
A more R-like version of meanabsdev() would default to na.rm=FALSE, as e.g., mean() or median():
meanabsdev()
na.rm=FALSE
mean()
median()
meanabsdev <- function(y, na.rm=FALSE) mean(abs(y - mean(y, na.rm=na.rm)), na.rm=na.rm)