mean

mean(r: ranvar) 🡒 number, pure function

Returns the statistical mean of the specified ranvar.

Example:

show scalar "" with mean(poisson(2))