# last modified 11 December 2006 by J. Fox
# last modified 16 December 2009 by M. Friendly
# last modified  2 January 2010 by M. Friendly: export cross3d
# last modified 27 January 2010 by M. Friendly: export statList etc
# last modified 5 Aug 2010 by M. Friendly: export etasq, gsorth, termMeans
# last modified 4 Oct 2010 by M. Friendly: trans.colors
# last modified 14 Jan 2013 by M. Friendly: interpPlot, label.ellipse
# last modified 16 Jan 2013 by M. Friendly: coefplot
# now import(car) to avoid CRAN nag
# now importFrom(MASS)
# withdraw vcov.mlm from exports ---  included in stats
# remove robmlm.* from exports
# use importsFrom for base packages

#importFrom(car, car:::df.terms, car:::df.terms.default, car:::is.aliased)

import(car)
import(stats)
import(graphics)
importFrom(MASS, psi.bisquare, cov.trob, cov.rob)
importFrom("grDevices", "col2rgb", "palette", "rgb", "gray")
#importFrom("stats", ".getXlevels", "SSD", "aggregate", "alias", "cor", "cov", "df.residual", "estVar", "lm.wfit", "lsfit", "mahalanobis", "model.frame", "model.matrix", "model.response", "model.weights", "na.omit", "pf", "pnorm", "qchisq", "qf", "residuals", "runif", "var", "vcov")
#importFrom("stats", "complete.cases", "formula", "getCall", "pchisq", "qnorm", "update")
importFrom("utils", "packageDescription")


export(heplot, heplot3d, heplot1d, ellipse3d.axes, mark.H0, cross3d, 
       statList, covList, colMeansList, arrow3d,
       etasq, gsorth, termMeans, trans.colors,
       robmlm, 
    	interpPlot, 
    	label.ellipse,
    	coefplot,
      boxM,
      covEllipses,
      colDevs,
      logdetCI,
    	bartlettTests, leveneTests,
    	Mahalanobis,
    	cqplot
  	)

S3method(heplot, mlm)
S3method(heplot3d, mlm)
S3method(pairs, mlm)
S3method(heplot1d, mlm)
S3method(etasq, lm)
S3method(etasq, mlm)
S3method(etasq, Anova.mlm)

#S3method(vcov,mlm)
S3method(robmlm, default)
S3method(robmlm, formula)
S3method(print, robmlm)
S3method(summary, robmlm)
S3method(plot, robmlm)
S3method(coefplot, mlm)

S3method(boxM, formula)
S3method(boxM, lm)
S3method(boxM, default)
S3method(plot, boxM)
S3method(summary, boxM)

S3method(covEllipses, default)
S3method(covEllipses, data.frame)
S3method(covEllipses, matrix)
S3method(covEllipses, boxM)

S3method(cqplot, default)
S3method(cqplot, mlm)


