R/fitted.cmulti.R

fitted.cmulti <-
function(object, ...){
    type <- object$type
    if (type == "mix")
        stop("fitted values are not available for finite mixture model")
    X <- model.matrix(object$formula, object$model)
    poisson("log")$linkinv(drop(X %*% coef(object)))
}

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.