R/coef.HOF.R

"coef.HOF" <-
    function (object, model, ...) 
{
    out <- sapply(object$models, function(x)
                  c(x$estimate, rep(NA, 4 - length(x$estimate))))
    rownames(out) <- letters[1:4]
    if (!missing(model)) {
        out <- out[,model]
    }
    out
}

Try the gravy package in your browser

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

gravy documentation built on May 2, 2019, 4:46 p.m.