newWeights: Return the new trust matrix for agents

Description Usage Arguments Details Value

View source: R/simulation.R

Description

Return the new trust matrix for agents

Usage

1
newWeights(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 work out how expected advice was given their initial estimate, and in/decrease their trust according to that likelihood, scaled by each agent's trust_volatility.

Value

Connectivity matrix of trust after accounting for agents' decisions


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