update_score: Update Score with Advantage Final Set

Description Usage Arguments

View source: R/update_score.R

Description

Check score change based on result of current point and return score in terms of serving player of the previous point

Usage

1
update_score(pointa, pointb, gamea, gameb, seta, setb, bestof3 = T)

Arguments

bestof3

Logical indicator if best-of-3 match

point_a

Numeric game points won by current server at start of point

point_b

Numeric game points won by current returner at start of point

game_a

Numeric games won by current server in the current set

game_b

Numeric games won by current returner in the current set

set_a

Numeric sets won by current server

set_b

Numeric sets won by current returner


skoval/inmatch_api documentation built on Jan. 20, 2020, 4:14 a.m.