update_tv: Update TV

Description Usage Arguments Value

View source: R/predictions.R

Description

Takes a team object and changes it's TV to something new. Takes the TV change from CCL data for the relevant race within +- 20 TV of the team's pre-game TV. To avoid single occurance outliers having a large impact on the results, sample five options and take the median

Usage

1
update_tv(team)

Arguments

team

A team object from make_team

Value

Returns the passed team object with an updated TV


nufflytics/nufflytics documentation built on Oct. 10, 2020, 5:27 p.m.