- 积分
- 23360
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-7-9
- 最后登录
- 1970-1-1
|
发表于 2015-12-11 08:42:54
|
显示全部楼层
avg
Computes the average of a variable regardless of dimensionality.
Prototype
function avg (
x : numeric
)
return_val [1] : float or double
Arguments
x
An array of one or more numeric values of any dimensionality.
Return value
The return value will be a scalar of type double if x is double, and a scalar of type float otherwise.
Description
Returns the average of a variable regardless of dimensionality. avg ignores missing values (x@_FillValue). To determine the number of data values used to calculate the average use:
N = num(.not.ismissing(x)) |
|