Learn R Programming

toRvik (version 1.1.1)

bart_injuryimpact: Get Estimated Injury Impact

Description

Returns estimated adjusted ratings in a one-player injury scenario by team.

Usage

bart_injuryimpact(year = current_season(), team = NULL, player = NULL)

Value

Returns a tibble with five columns:

situation

character.

adj_oe

double.

adj_de

double.

barthag

double.

rk

double.

Arguments

year

Defaults to current season (YYYY).

team

Indicates team.

player

Indicates player to remove.

Details

Estimations are experimental and based on 'highly dubious analysis.'

Examples

Run this code
try(bart_injuryimpact(year=2019, team='Duke', player='Zion Williamson'))

Run the code above in your browser using DataLab