| .assign_on_ice_shift_metric | R Documentation |
.assign_on_ice_shift_metric() copies goalie and skater timing matrices into
home, away, for, and against scalar play-by-play columns.
.assign_on_ice_shift_metric(
play_by_play,
home_matrix,
away_matrix,
metric_suffix
)
play_by_play |
data.frame play-by-play object |
home_matrix |
numeric matrix for home on-ice players |
away_matrix |
numeric matrix for away on-ice players |
metric_suffix |
scalar timing suffix |
data.frame with timing columns assigned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.