Analyze shot group data with R