R/model.matrix.rsf.R

model.matrix.rsf <-
function (object, ...)
{
    out <- model.matrix.default(object, ...)
    if (object$link == "log")
        out <- out[,-1]
    out
}

Try the ResourceSelection package in your browser

Any scripts or data that you put into this service are public.

ResourceSelection documentation built on July 9, 2023, 5:58 p.m.