R/prodist.R

Defines functions prodist.gamlss

Documented in prodist.gamlss

## S3 method for extracting fitted/predicted distributions3 objects
## associated methods are in gamlss.dist (as well as distributions3, topmodels, etc.)
prodist.gamlss <- function(object, ...) {
  d <- predictAll(object, ...)
  d$y <- NULL
  class(d) <- c("GAMLSS", "distribution")
  return(d)  
}

Try the gamlss package in your browser

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

gamlss documentation built on May 29, 2024, 6:08 a.m.