group.diff {MoBPS} | R Documentation |
Function to exclude individuals from a database
Description
Function to exclude individuals from a database
Usage
group.diff(
population,
database = NULL,
gen = NULL,
cohorts = NULL,
remove.gen = NULL,
remove.database = NULL,
remove.cohorts = NULL
)
Arguments
population |
Population list |
database |
Groups of individuals to consider for the export |
gen |
Quick-insert for database (vector of all generations to export) |
cohorts |
Quick-insert for database (vector of names of cohorts to export) |
remove.gen |
Generations of individuals to remove from the database (same IDs!) |
remove.database |
Groups of individuals to remove from the database (same IDs!) |
remove.cohorts |
Cohorts of individuals to remove from the database (same IDs!) |
Value
Database excluding removals
Examples
data(ex_pop)
database <- group.diff(ex_pop, gen=1, remove.database=cbind(1,1))
[Package MoBPS version 1.6.64 Index]