R/fitted.GNARfit.R

Defines functions fitted.GNARfit

Documented in fitted.GNARfit

fitted.GNARfit <- function(object,...){
  stopifnot(is.GNARfit(object))
  dotarg <- list(...)
  if(length(dotarg)!=0){
    if(!is.null(names(dotarg))){
      warning("... not used here, input(s) ", paste(names(dotarg), collapse=", "), " ignored")
    }else{
      warning("... not used here, input(s) ", paste(dotarg, collapse=", "), " ignored")
    }
  }
  return(residToMat(object, nnodes=object$frbic$nnodes)$fit)
}
nunesmatt/GNAR documentation built on Oct. 29, 2019, 4:25 p.m.