Moment-Based Estimation for Hierarchical Models (R Package)