
Calculate Test Match Projected Score
Source:R/score_projection_test_match.R
calculate_test_projected_score.RdWrapper for calculate_projected_score() with Test-specific handling. Estimates overs remaining from match metadata if not provided.
Usage
calculate_test_projected_score(
current_score,
wickets_remaining,
overs_bowled,
match_days = 5,
day_number = 1,
overs_bowled_today = 0,
expected_initial_score = NULL,
params = NULL,
gender = "male",
team_type = "international"
)Arguments
- current_score
Integer. Runs scored in innings.
- wickets_remaining
Integer. Wickets in hand.
- overs_bowled
Numeric. Overs bowled in innings.
- match_days
Integer. Total days in match (4 or 5).
- day_number
Integer. Current day.
- overs_bowled_today
Numeric. Overs bowled today (all innings).
- expected_initial_score
Numeric. EIS (NULL = use default).
- params
Named list. Projection parameters (NULL = use defaults).
- gender
Character. "male" or "female".
- team_type
Character. "international" or "club".