The extension point behind gddm_drift_constant() and its siblings.
Usage
gddm_drift_term(label, dpars, fn, aterms = character(0), base = FALSE)Arguments
- label
One word naming the term, used when the family prints.
- dpars
Named list, one entry per free parameter, each a list with
link(a link name or a link object) andinit, afunction(y, aterms)returning a starting value on the natural scale.- fn
function(x, t, p, cov)returning the drift at each node.- aterms
Character vector of addition-term values
fnreads, named as they reach the density:"vreal1".- base
TRUEif the term suppliesmuand can stand alone.