R/powlinear_sel.R

Defines functions powlinear_sel

Documented in powlinear_sel

powlinear_sel <-
function(imarks, jmarks, dists, dranks, par = list(ki=0.2, kj=0, p=1, r0=0, smark=1)) {
# General competitor selection:  R < ki Si^p + kj Sj^p + r0
    with(as.list(par),
         dists < ki * imarks[[smark]]^p + kj * jmarks[smark]^p + r0
    )
}
ogarciav/siplab documentation built on March 31, 2022, 9:48 a.m.