powered by
Function to exclude individuals from a database
group.diff( population, database = NULL, gen = NULL, cohorts = NULL, remove.gen = NULL, remove.database = NULL, remove.cohorts = NULL )
Population list
Groups of individuals to consider for the export
Quick-insert for database (vector of all generations to export)
Quick-insert for database (vector of names of cohorts to export)
Generations of individuals to remove from the database (same IDs!)
Groups of individuals to remove from the database (same IDs!)
Cohorts of individuals to remove from the database (same IDs!)
Database excluding removals
# NOT RUN { data(ex_pop) database <- group.diff(ex_pop, gen=1, remove.database=cbind(1,1)) # }
Run the code above in your browser using DataLab