MultiPop-class function

Multi-Population

Multi-Population

The mega-population represents a population of populations. It is designed to behave like a list of populations. class

## S4 method for signature 'MultiPop' x[i] ## S4 method for signature 'MultiPop' x[[i]] ## S4 method for signature 'MultiPop' c(x, ...) ## S4 method for signature 'MultiPop' length(x) isMultiPop(x)

Arguments

  • x: a 'MultiPop' object
  • i: index of populations or mega-populations
  • ...: additional 'MultiPop' or 'Pop' objects

Methods (by generic)

  • [: Extract MultiPop by index
  • [[: Extract Pop by index
  • c(MultiPop): Combine multiple MultiPops
  • length(MultiPop): Number of pops in MultiPop

Functions

  • isMultiPop(): Test if object is of a MultiPop class

Slots

  • pops: list of Pop-class and/or MultiPop-class