Skip to contents

Estimates overs remaining in a Test match based on days played, current day's progress, and match duration.

Usage

calculate_test_overs_remaining(
  match_days = 5,
  day_number = 1,
  overs_bowled_today = 0,
  session = NULL
)

Arguments

match_days

Integer. Total days scheduled for the match (4 or 5).

day_number

Integer. Current day number (1-5).

overs_bowled_today

Numeric. Overs bowled so far today.

session

Integer. Current session (1, 2, or 3). Optional.

Value

Numeric. Estimated overs remaining in the match.

Examples

# Day 3 of 5-day Test, 45 overs bowled today
calculate_test_overs_remaining(
  match_days = 5,
  day_number = 3,
  overs_bowled_today = 45
)
#> [1] 225