R package for hierarchical models in ecological research