avgteam: Find averages of stats

Description Usage Arguments Value Examples

View source: R/avgteam.R

Description

Find averages of stats

Usage

1
avgteam(teammatrix, w = FALSE)

Arguments

teammatrix

A matrix of player stats created by buildteam()

w

TRUE/FALSE for weighting stats by games played

Value

Table of average player stats

Examples

1
2
team1 <- buildteam(c("Cr0", "Gladiator"))
avgteam(team1)

cr0-git/SCteamstats documentation built on Dec. 19, 2021, 6:08 p.m.