teams: Team shooting analysis

Description Usage Arguments Details Value

Description

Calculate spatially adjusted team-based shooting statistics using spatially explicit model of NHL scoring probability.

Usage

1
teams(model, shots)

Arguments

model

a dataframe, specifically, ouput from the function NHLmodel.

shots

the raw data shots file that was used as input into the function shots2model.

Details

Will be expanded later on.

Value

The function returns a dataframe with spatially adjusted team shooting statistics.


jedalong/nhlmodelr documentation built on May 25, 2019, 6:23 p.m.