Learn R Programming

nhlscrapr (version 1.8)

player.summary: Player summaries

Description

Summarizes the event count for each player in the data frame.

Usage

player.summary (grand.data, roster.unique)

Arguments

grand.data
A single data frame of all events to be considered.
roster.unique
A list of all player IDs to consider.

Value

An array with event counts for each player in the data frame.