trim_results: Trim results to remove top and bottom 10% of results.

Description Usage Arguments Value

Description

In order to fit the score data to an exponential or linear model of the CDF, the top and bottom 10% of scores are removed to fit with the requirements that a score of at least the 10th percentile is required to earn any Shooter of the Year points. By removing the top 10% of results, we can guarantee that a score at the 90th percentile will earn 100 Shooter of the Year points.

Usage

1
trim_results(results, col = "Score")

Arguments

results

A dataframe containing archery scores.

col

The dataframe column corresponding to the scores. Default is "Score".

Value

A new dataframe containing the middle 80% of the scores.


timwilson/soty documentation built on May 11, 2019, 3:08 p.m.