http://hafro.github.io/gadget/docs/userguide/chap-like.html#sec:migpenalty

gadget_migrationpenalty_component(
  weight = 0,
  name = "migrationpenalty",
  stockname = c(),
  powercoeffs = c()
)

Arguments

weight

A numeric weighting

name

A descriptive name for the component, default same as component type

stockname

Name of stock to check

powercoeffs

vector of coefficients p0 & p1