R/coef.drc.R

"coef.drc" <-
function(object, ...)
{
    if (!is.null(object$"coefficients"))
    {
        return(object$"coefficients")
    } else {
        retVec <- object$fit$par
        names(retVec) <- object$parNames[[1]]
        return(retVec)
    }
}
DoseResponse/drc documentation built on May 7, 2021, 4:55 p.m.