An R package for Generalized and classical blockmodeling of