Added examples in pkg.Rd

Let aggregate functions support boolean values