Basic statistical functions for package ff