mean
Syntax
mean(X)
Arguments
X is a scalar/vector/matrix/table.
Details
Calculate the average of X.
-
If X is a matrix, calculate the average of each column and return a vector.
-
If X is a table, calculate the average of each column and return a table.
This function is equivalent to avg.
The calculation skips NULL values.