This function computes the *average absolute deviation*
for each column vector in the input matrix x
.
Arguments
- x
a numerical matrix features-by-samples
- center
numerical value, the central point
- rows
(optional) numerical vector giving the rows in
x
or character vector matching the row names inx
to operate over. Ifmissing
orrows = NULL
, all the rows inx
are considered for the computation of the measures- na.rm
logical, whether to remove
NA
values fromx
before computation- ...
further arguments to
colMeans2