NHLloess: Locally weighted regression smoothing

Description Usage Arguments Details Value

Description

Wrapper function for computing locally weigthed regression smoothing of NHL shot data, for comparison with the output NHL model values.

Usage

1
NHLloess(model, alpha = 0.05)

Arguments

model

a dataframe, specifically, ouput from the function NHLmodel.

alpha

the smoothing parameter; see ?loess

Details

Will be expanded later on.

Value

A NHLmodel dataframe with an additional column - loess the local regression values.


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