R package stratification summary table