var#
- swordfish.function.var()#
If X is a vector, return the the (unbiased) sample standard variance of X.
If X is a matrix, calculate the the (unbiased) sample standard variance of each column of X and return a vector.
As with all aggregate functions, null values are not included in the calculation.
Note
The result is sample variance instead of population variance.
- Parameters:
X (Constant) – A scalar/vector/matrix.