set_generation | R Documentation |
Note that generation 0 is final, end generation. 1 is second last generation etc.
set_generation(individual, generation)
individual |
Individual |
generation |
Generation to assign |
sim <- sample_geneology(100, 10)
indv <- get_individual(sim$population, 1)
get_generation(indv)
set_generation(indv, 100)
get_generation(indv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.