RGroupSummary function

Calculates summary statistics for each Relatedness Group in the sample.