View source: R/Source_Learning.R
ChooseTutors | R Documentation |
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.
ChooseTutors(P, population, learners, vacancy, misc = rep(0, length(learners)))
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.