by_player: by_player function

Description Usage Arguments Examples

View source: R/aggregation.R

Description

This function takes a dataframe from advanced_stats or box_stats and aggregates.

Usage

1
by_player(dframe, type = "sum")

Arguments

dframe

the dataframe returned in advanced_stats or box_stats

type

Options are sum, mean, max, min

Examples

1
2

bnoreen/ncaaBaseball documentation built on March 13, 2021, 6:30 a.m.