get.id {MoBPS} | R Documentation |
Function to derive the internal ID given to each individual
get.id(population, database = NULL, gen = NULL, cohorts = NULL, use.id = FALSE)
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) |
use.id |
Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names |
Individual ID for in gen/database/cohorts selected individuals
data(ex_pop)
get.id(ex_pop, gen=2)