R/fitted.spa.R

"fitted.spa" <-function(object,verbose=FALSE,...){
  if(class(object)!="spa"){
    stop("Error:  x is not of type spa")
  }
  if(verbose)
    cat("The fitted values are given for", dim(object)[1]," values that which", dim(object)[2]," are labeled\nIn addition, they are ordered as given by the inputed response\n")
  return(object$model$fit)
}

Try the spa package in your browser

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

spa documentation built on May 30, 2017, 1:27 a.m.