simulate_behavioural_markers: Simulate behavioural data

Description Usage Arguments Value

View source: R/game.R

Description

Simulate behavioural data

Usage

1
2
3
4
5
6
7
simulate_behavioural_markers(
  player,
  partner,
  n_rounds,
  decision_time_mean = 750,
  decision_time_sd = 100
)

Arguments

player

tbl row of the player

partner

tbl row of the player's partner (another player)

n_rounds

number of rounds to play

decision_time_mean

mean decision time of the sample

decision_time_sd

standard deviation of the above

Value

tbl with $id, $round_id, and markers for $decision_time, $partner_decision_time, $reveal_time, and $round_end_time all in ms.


mjaquiery/silly-smile-sim documentation built on Nov. 21, 2020, 9:15 a.m.