R/predict.HOF.R

"predict.HOF" <-
    function (object, newdata, model, ...) 
{
    p <- coef(object, model, ...)
    xrange <- object$range
    if (missing(newdata)) 
        x <- object$x
    else x <- newdata
    fv <- HOF1(x, model, p, 1, xrange)
    fv
}

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.