R/coef.spa.R

"coef.spa" <-function(object,...){
  if(class(object)!="spa"){
    stop("Error:  x is not of type spa")
  }
  return(object$model$xstr$coef[,1])
}

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.