isBatsmanInForm: isBatsmanInForm

Description Usage Arguments Examples

View source: R/isBatsmanInForm.r

Description

Compares the lastest of a batsmans innings against their career average

Usage

1
isBatsmanInForm(Runs, Popsize = 10, PValue = 0.05)

Arguments

Runs

Vector containing the runs for the player

Popsize

Number of innings to consider

PValue

P Value to compare against

Examples

1
2
playerInfo <- getPlayerInfo(PlayerNumber="11728", BattingBowling = "Batting", ViewType = "Inn", Clean="Y")
isBatsmanInForm(playerInfo$Runs, 0.05)

nickzani/Cricinfo documentation built on May 23, 2019, 5:09 p.m.