R/coef.svocc.R

coef.svocc <-
function (object, model = c("full", "sta", "det"), ...)
{
    model <- match.arg(model)
    rval <- object$coefficients
    rval <- switch(model,
        full = structure(c(rval$sta, rval$det),
            .Names = c(paste("sta", names(rval$sta), sep = "_"),
            paste("det", names(rval$det), sep = "_"))),
        sta = rval$sta,
        det = rval$det)
    return(rval)
}

Try the detect package in your browser

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

detect documentation built on May 2, 2019, 4:50 p.m.