Description Usage Arguments Value Author(s) See Also Examples
Search for a player – either exact match or using fixed regular expressions – and return all penalties taken by or against this player as table.
1 | penaltyPrint(player, goalkeeper = TRUE, exact = TRUE, pendat, includeMisses = TRUE)
|
player |
Character vector of length 1 which contains the full name of a player in |
goalkeeper |
Boolean, specifies whether |
exact |
Boolean, specifies whether to look for an exact match. If set to FALSE,
|
pendat |
Name of a data set containing the penalties. The data set needs to follow the format
of |
includeMisses |
Boolean, indicates whether to include penalties that missed the goal without the goalkeeper actively saving the ball. |
Returns a data.frame
that is a subset of pendat
.
Leo N. Geppert
penaltyPlot
1 2 3 | data(penalties)
penaltyPrint('Illgner, Bodo', pendat = penalties)
penaltyPrint('Illgner', exact = FALSE, pendat = penalties)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.