make_player: Create a player object given a description of the shooter's...

Description Usage Arguments Value

View source: R/make_player.R

Description

Create a player object given a description of the shooter's accruacy and shot selection strategy

Usage

1
make_player(mpr, total_darts_501, select_shot)

Arguments

mpr

numeric value of a shooter's average marks shot in one turn

total_darts_501

numeric value of average total darts shot in a full game of 501

select_shot

function that decides which target to shoot

Value

player object consisting of accuracy and target selection


chringer-git/cricketmodel documentation built on Sept. 9, 2019, 5:06 p.m.