Description Usage Arguments Value
View source: R/generation_gap.R
Replace a proportion G of the old generation with their offspring.
1 | generation_gap(old_gen, children, G = 1)
|
old_gen |
Output of ranked_models() of the previous generation. A data frame. |
children |
Output of ranked_models() of the children of the previous generation. A data frame. |
G |
Proportion of old_gen to replace with children. |
The next generation, in descending order of fitness (most fit first). A data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.