cluster (version 2.1.6)

cluster-internal: Internal cluster functions

Description

Internal cluster functions.

Usage

meanabsdev(y)

Arguments

y

numeric vector.

Details

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 <- function(y, na.rm=FALSE)
       mean(abs(y - mean(y, na.rm=na.rm)), na.rm=na.rm)