group.diff: Function to exclude individuals from a database

Description Usage Arguments Value Examples

View source: R/group.diff.R

Description

Function to exclude individuals from a database

Usage

1
2
3
4
5
6
7
8
9
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

1
2
data(ex_pop)
database <- group.diff(ex_pop, gen=1, remove.database=cbind(1,1))

MoBPS documentation built on Nov. 9, 2021, 5:08 p.m.

Related to group.diff in MoBPS...