powered by
Function to derive a database based on gen/database/cohorts
get.database( population, gen = NULL, database = NULL, cohorts = NULL, avoid.merging = FALSE )
Population list
Quick-insert for database (vector of all generations to export)
Groups of individuals to consider for the export
Quick-insert for database (vector of names of cohorts to export)
Set to TRUE to avoid different cohorts to be merged in a joint group when possible
Combine gen/database/cohorts to a joined database
# NOT RUN { data(ex_pop) get.database(ex_pop, gen=2) # }
Run the code above in your browser using DataLab