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 Oct. 4, 2023, 5:08 p.m.