summaryrefslogtreecommitdiff
path: root/R/estpoly.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/estpoly.R')
-rw-r--r--R/estpoly.R2
1 files changed, 2 insertions, 0 deletions
diff --git a/R/estpoly.R b/R/estpoly.R
index 66176dc..d2569a3 100644
--- a/R/estpoly.R
+++ b/R/estpoly.R
@@ -4,6 +4,8 @@ estPoly <- function(coefficients,vcov,sigma,df,fitted.values,
out <- list(coefficients= coefficients,vcpv= vcov,sigma = sigma,
df= df,fitted.values=fitted.values,
residuals= residuals,call= call,time=time,input=input)
+ class(out) <- "estPoly"
+ out
}
#' @export