vaep_score_actions: Calculate the VAEP score for all actions in a spadl df

Description Usage Arguments Author(s)

View source: R/vaep_score.R

Description

Calculate the VAEP score for all actions in a spadl df

Usage

1
vaep_score_actions(spadl, scores, concedes, score_type)

Arguments

spadl

A df of spadl events

scores

The name of a col of values calculated for the chance of scoring in next n actions

concedes

The name of a col of values calculated for the chance of conceeding in next n actions

score_type

Whether to score for the attacking contribution or defensive contribution

Author(s)

Robert Hickman


RobWHickman/Rteta documentation built on Oct. 28, 2020, 10:42 p.m.