newWeightsByDrift: Return the new trust matrix for agents using weighted drift...

Description Usage Arguments Details Value

View source: R/simulation.R

Description

Return the new trust matrix for agents using weighted drift towards 0/1

Usage

1
newWeightsByDrift(agents, graph, confidence_weighted = T)

Arguments

agents

tbl with a snapshot of agents at a given time

graph

connectivity matrix of trust

confidence_weighted

whether to use confidence to weight the updating or instead rely only on dis/agreement

Details

Agents drift towards 0 or 1 trust according to whether or not the advisor agreed with them. This can be weighted by confidence, too, where the agreement matters more the more confident the agent was in their initial decision. This latter is accomplished by a second drift from the original trust rating to the prospective value.

Value

Connectivity matrix of trust after accounting for agents' decisions


oxacclab/adviseR documentation built on Oct. 7, 2021, 8:05 p.m.