R/summary.grid.tvp.R

Defines functions summary.grid.tvp

Documented in summary.grid.tvp

summary.grid.tvp <- function(object, ...)
  {
   x <- object
   
   print(round(x$fq,digits=4),quote=FALSE)
   cat("\n")
   cat("The model minimising RMSE:")
   temp <- which(x$fq[,1] == min(x$fq[,1]), arr.ind = TRUE)[1]
   names(temp) <- c("")
   print(temp,quote=FALSE)
   cat("\n")
   cat("The model minimising MAE:")
   temp <- which(x$fq[,2] == min(x$fq[,2]), arr.ind = TRUE)[1]
   names(temp) <- c("")
   print(temp,quote=FALSE)  
   cat("\n") 
  }

Try the fDMA package in your browser

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

fDMA documentation built on July 26, 2023, 6:09 p.m.