Skip to contents

Interaction function for frequency-biased adaptive learning.

Usage

frequency_bias_interact(learner, ., model)

Arguments

learner

Agent currently selected as learner.

.

No selected teacher with frequency-biased learning.

model

Model variable will be the agent-based model.

Examples

net <- make_regular_lattice(10, 4)
model <- AgentBasedModel$new(network = net)
output <- run(model, 10, interact = frequency_bias_interact)