NHLmodelplot: Plot NHL model results

Description Usage Arguments Details Value

Description

Very basic plotting function for outputs from the spatial model of NHL goal scoring probabilities.

Usage

1
NHLmodelplot(model, plot = "none")

Arguments

model

a dataframe, specifically, ouput from the function NHLmodel.

plot

character, what to plot; one of ('shots','goals','postmean','postvar','none'). If none is given just the rink outline is plotted.

Details

Will be expanded later on.

Value

A half-rink plot of shots or goals (as points) or posterior mean or variance (as a surface).


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