reference/functions: document max(), min(), mean(), and variance()