# last modified 2017-09-11 by J. Fox

import(carData)

importFrom(lattice, barchart, current.panel.limits, densityplot, larrows, llines, lpoints, ltext,
           panel.abline, panel.barchart, #panel.grid, 
           panel.polygon, panel.text, strip.default, trellis.par.get,
           trellis.par.set, xyplot)
importFrom(colorspace, rainbow_hcl, sequential_hcl)
importFrom(grid, grid.pretty, grid.segments, unit)
importFrom(lme4, fixef)
importFrom(nnet, multinom)
importFrom(graphics, plot)
importFrom(grDevices, gray, palette, rgb)
importFrom(survey, svymean)
importFrom(stats, as.formula, binomial, coef, coefficients, cov, delete.response, family, fitted,
    formula, glm, glm.control, lm, lm.fit, loess.smooth, mahalanobis, 
    model.frame, model.matrix, model.offset,
    model.response, na.exclude, na.omit, nlm, predict, qf, qnorm, qt, quantile, residuals,
    spline, terms, update, vcov, weights, xtabs)
importFrom(utils, menu)

export(effect, allEffects, Effect, effectsTheme)
export(predictorEffect, predictorEffects)
S3method(plot, predictoreff)
S3method(plot, predictorefflist)

S3method(Effect, default)
S3method(Effect, lm)
S3method(Effect, mer)
S3method(Effect, merMod)
S3method(Effect, lme)
S3method(Effect, clm2)
S3method(Effect, clm)
S3method(Effect, clmm)
S3method(Effect, gls)
S3method(Effect, multinom)
S3method(Effect, polr)
S3method(Effect, poLCA)
S3method(Effect, mlm)
S3method(Effect, svyglm)
S3method(predictorEffect, default)
S3method(predictorEffect, svyglm)
S3method(print, eff)
S3method(print, efflist)
S3method(print, mlm.efflist)
S3method(print, summary.eff)
S3method(print, predictoreff)
S3method(print, predictorefflist)
S3method(summary, eff)
S3method(summary, efflist)
S3method(summary, mlm.efflist)
S3method(summary, predictorefflist)
S3method(as.data.frame, eff)
S3method(as.data.frame, effpoly)
S3method(as.data.frame, efflatent)
S3method(plot, eff)
S3method(print, plot.eff)
S3method(plot, efflist)
S3method(plot, mlm.efflist)
S3method(print, effpoly)
S3method(summary, effpoly)
S3method(plot, effpoly)
S3method(print, efflatent)
S3method(summary, efflatent)
S3method(allEffects, default)
S3method(allEffects, gls)
S3method(allEffects, mer)
S3method(allEffects, merMod)
S3method(allEffects, lme)
S3method(allEffects, clm2)
S3method(allEffects, clmm)
S3method(allEffects, clm)
S3method(allEffects, poLCA)
S3method(allEffects, mlm)
S3method(effect,default)
S3method(effect,mer)
S3method(effect, merMod)
S3method(effect, clm2)
S3method(effect, clmm)
S3method(effect, clm)
S3method(vcov, eff)
S3method(`[`, efflist)
