getCourseCorrection_nls: Get Course Correction Parameter using Nonlinear Regression of...

Description Usage Arguments Value Examples

View source: R/getCourseCorrection_nls.R

Description

This function estimates and returns the course correction parameter, gamma, for courses that are not the base course.

Usage

1
2
getCourseCorrection_nls(race, results, referenceRunners, guess,
  alpha = 4.4, beta = 2355, baseID = "mGeneseo15")

Arguments

race

The numeric ID of the race you want to estimate the correction for

Value

gammaFit The best fit estimate for the course correction parameter, gamma.

Examples

1
getCourseCorrection(race = "mWilliams15", results, referenceRunners, guess, baseID = "mGeneseo15")

sf585978/speedR documentation built on Nov. 25, 2019, 10:10 p.m.