mean#
- swordfish.function.mean()#
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.
- Parameters:
X (Constant) – A scalar/vector/matrix/table.