updateRewardProb: Update Reward Probabilities

Description Usage Arguments Details Value

View source: R/rewards.R

Description

Update reward probabilities according to Solway et al. (2019) methods. It takes in an image's reward probability, and returns a final probability to be reassigned to the inputted parameter according to the above description.where probabilities shift according to random gaussian noise with mean 0 and standard deviation of 0.025. Reflecting boundaries are at 0.8 and 0.2.

Usage

1
updateRewardProb(imageProb)

Arguments

imageProb

The current probability of receiving a reward for a given image.

Details

According to personal communication with Solway: Each of the four second-stage images had independent probabilities.

Value

Updated probability


jdtrat/dynaq documentation built on July 24, 2020, 7:18 a.m.