PlaySelf: Play self

Description Usage Arguments Value Author(s)

Description

Lets a human player make a choice

Usage

1
2
3
PlaySelf(params = NULL, hidden_states = NULL, player = NULL,
  p_matrix = NULL, choice_self = NULL, choice_op = NULL,
  return_hidden_states = F, messages = T)

Arguments

player

the current player role

p_matrix

the current payoff matric

choice_self

player's own choice on last round

choice_op

opponent's choice last round

Value

player's choice

Author(s)

K. Enevoldsen & P. Waade


KennethEnevoldsen/SiRToM documentation built on May 28, 2019, 9:32 a.m.