Skip to contents

Blends EPR (delivery-level career value) with PSR (stat-based career value) into a single composite player rating.

Usage

calculate_bouncer(epr, psr, weight_epr = 0.5)

Arguments

epr

data.table from calculate_epr with columns player_id, total_epr, batting_epr, bowling_epr.

psr

data.table from calculate_psr with columns player_id, psr.

weight_epr

Numeric. Weight for EPR component (default 0.5). PSR weight = 1 - weight_epr.

Value

data.table with columns: player_id, role_group, bouncer_rating, total_epr, psr, batting_epr, bowling_epr, n_matches, wt_matches.