ChooseTutors: Choose Tutors

View source: R/Source_Learning.R

ChooseTutorsR Documentation

Choose Tutors

Description

Randomly chooses a tutor for each learner. Tutors must be alive, not be chicks, and must know at least one syllable. Tutors can be chosen locally or globally.

Usage

ChooseTutors(P, population, learners, vacancy, misc = rep(0,
  length(learners)))

Arguments

P

a list of parameters

population

the population of birds

learners

the indicies of birds that will attempt to learn

vacancy

the indicies of birds that are dead

misc

a matrix of positions of other birds that are excluded for some reason (e.g. already for consensus tutors)


NeuroBio/SEM_R_Package documentation built on April 24, 2022, 5:54 p.m.