importance | R Documentation |
This function calculates the match win prediction for matches in progress based on the current score
importance(id, serve.prob, return.prob, bestof3 = TRUE, advantage = TRUE)
id |
Score id for the start of the current point |
return.prob |
Numeric serve win prob of current returner |
bestof3 |
Logical indicator if best-of-3 match (TRUE) or best-of-5 (FALSE) |
advantage |
Logical if advantage set match (TRUE) or tiebreak match (FALSE) |
server.prob |
Numeric serve win prob of current server |
Numeric value of importance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.