Description Usage Arguments Value Examples
View source: R/getCourseCorrection.R
This function estimates and returns the course correction parameter, gamma, for courses that are not the base course.
1 2 3 4 | getCourseCorrection(results, alpha = 4.4, beta = 2355,
lower_thresh = 0.7, upper_thresh = 1, race_dist = "8k",
baseID = "mGeneseo15", baseIntercept = 1531.96,
teams_to_drop = NULL)
|
results |
The results for the race you are speed rating |
alpha |
The number of seconds one speed rating point is equal to |
beta |
The number of seconds marking the zero point of the scale |
lower_thresh |
The quantile results must be greater than to contribute to calculating the course correction |
upper_thresh |
The quantile results must be less than to contribute to calculating the course correction |
race_dist |
The distance of the race being analyzed |
baseID |
The race ID for the base race |
baseIntercept |
The regression intercept for the base race |
gammaFit The best fit estimate for the course correction parameter, gamma.
1 | getCourseCorrection(results = geneseo16, alpha = 4.4, beta = 2355, lower_thresh = 0.1, upper_thresh = 0.95, race_dist = "8k", baseID = "mGeneseo15", baseIntercept = 1527.197)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.