guessVenue: Guesses an appearance's venue: If the appearance is for a...

Description Usage Arguments

View source: R/guessVenue.R

Description

Guesses an appearance's venue: If the appearance is for a player playing home, then the venue is home. If the appearance is for a player playing away, then the venue is away. Guess by 1) assign a player to the most frequent team seen on the player appearances for each year 2) calculate venue based on 1)

Usage

1
guessVenue(appearances_wo_venue)

Arguments

appearances_wo_venue

An appearances dataframe without venue


dcaribou/pScores documentation built on May 23, 2019, 8:20 p.m.