#last modified December 31, 2016  by William Revelle 
#added the various imports from stats, graphics, etc.
importFrom(mnormt,rmnorm,sadmvn,dmnorm)
importFrom(parallel,mclapply,mcmapply)
importFrom(lattice,xyplot,strip.custom)
importFrom(nlme,lme,VarCorr)
importFrom(graphics,plot,pairs,points,abline,arrows,axis,barplot,box,curve,hist,image,layout,legend, lines,mtext,par,persp,plot.new,plot.window, polygon,rect,segments,strheight,strwidth,text,axTicks,title,smoothScatter)

importFrom(stats,aov,cov,cor,var,sd,median,mad,cov2cor,biplot,rnorm,dnorm,rbinom,density, kmeans, lm,lm.fit,loadings,complete.cases, na.omit,na.fail,nlminb,optim, quantile,qnorm, pnorm,qqnorm,qqline,qqplot,pchisq,qchisq,qt,pt,dt,pf,qf,ppoints,p.adjust,optimize,residuals,spline,weighted.mean,promax,varimax,uniroot)

#importFrom(datasets,USArrests,attitude,Harman23.cor,Harman74.cov,ability.cov,iris)
importFrom(utils,head,tail,read.table,write.table,read.fwf,stack,example,download.file,getFromNamespace)

importFrom(grDevices,colorRampPalette,topo.colors,devAskNewPage,dev.flush,dev.hold, palette, grey,rainbow,rgb,col2rgb,trans3d)

importFrom(methods,new)

importFrom(tools,file_ext)

importFrom(foreign,read.spss)

S3method(print,psych)
S3method(biplot,psych)
S3method(pairs,panels)
S3method(plot,psych)
S3method(plot,irt)
S3method(plot,poly)
S3method(plot,poly.parallel)
S3method(plot,residuals)
S3method(predict,psych)
S3method(residuals,psych)
S3method(summary,psych)
S3method(anova,psych)
export(alpha,
anova.psych,
autoR,
bestItems,
bestScales,
biplot.psych,
bi.bars,
biserial,
bifactor,
biquartimin,
block.random,
char2numeric,
chi2r,
circ.tests,
circ.sim,
circ.sim.plot,
circ.simulation,
circadian.cor,
circadian.phase,
cosinor.plot,
circadian.reliability,
circadian.linear.cor,
circadian.mean,
circadian.sd,
circadian.F,
circadian.stats,
circular.mean,
circular.cor,
cluster.cor,
cluster.fit,
cluster.loadings,
cluster.plot,
cluster2keys,
cohen.kappa,
con2cat,
correct.cor,
cor.plot,
corPlot,
cor.plot.upperLowerCi,
corFiml,
cor.wt,
cor2dist,
#cor2cov,
cor2latex,
cor.ci,
corCi,
cor.smooth,
cor.smoother,
corr.test,
corr.p,
cortest,
cortest.bartlett,
cortest.jennrich,
cortest.mat,
cortest.normal,
count.pairwise,
comorbidity,
cosinor,
cosinor.period,
congeneric.sim,
cor2,
cta.15,
cta,
d2r,
df2latex,
dfOrder,
densityBy,
describe,
describeBy,
describe.by,
describeData,
diagram,
dia.shape,
dia.rect,
dia.ellipse,
dia.ellipse1,
dia.triangle,
dia.arrow,
dia.curve,
dia.curved.arrow,
dia.self,
dia.cone,
draw.cor,
draw.tetra,
dummy.code,
eigen.loadings,
ellipses,
equamax,
error.bars,
error.bars.by,
error.bars.tab,
error.crosses,
error.dots,
errorCircles,
esem,
esem.diagram,
fa,
faBy,
fa.extension,
fa.extend,
fa.parallel,
fa.parallel.poly,
fa.graph,
fa.rgraph,
fa.congruence,
fa.stats,
fa.diagram,
fa2irt,
fa.sort,
fa2latex,
fa.lookup,
fac,
fa.multi,
fa.multi.diagram,
fa.organize,
fa.poly,
fa.plot,
factor.congruence,
factor.fit,
factor.model,
factor.pa,
factor.minres,
factor.wls,
factor.plot,
factor.residuals,
factor.rotate,
factor.scores,
factor.stats,
factor2cluster,
fisherz,
fisherz2r,
g2r,
geometric.mean,
harmonic.mean,
headtail,
headTail,
het.diagram,
histBy,
ICC,
ICC2latex,
iclust,
ICLUST,
ICLUST.cluster,
iclust.diagram,
ICLUST.graph,
ICLUST.rgraph,
ICLUST.sort,
iclust.sort,
interp.median,
interp.quantiles,
interp.q,
interp.quart,
interp.quartiles,
interp.values,
interp.boxplot,
interp.qplot.by,
interbattery,
irt.fa,
irt.select,
irt.0p,
irt.1p,
irt.2p,
irt.discrim,
irt.item.diff.rasch,
irt.person.rasch,
irt.responses,
irt.stats.like,
irt.tau,
item.dichot,
item.sim,
item.lookup,
irt2latex,
isCorrelation,
glb,
glb.algebraic,
glb.fa,
guttman,
wkappa,
kaiser,
KMO,
keys.lookup,
keysort,
keys2list,
kurtosi,
lavaan.diagram,
levels2numeric,
logit,
logistic,
logistic.grm,
lookup,
lowerCor,
lowerMat,
lowerUpper,
make.congeneric,
make.hierarchical,
make.keys,
mardia,
matReg,
mat.regress,
mat.sort,
"%+%",
mediate,
mediate.diagram,
moderate.diagram,
minkowski,
mixed.cor,
mssd,
multi.hist,
multilevel.reliability,
mlr,
mlArrange,
mlPlot,
nfactors,
omega,
omega.diagram,
omega.graph,
omegah,
omegaSem,
omegaFromSem,
omega2latex,
outlier,
paired.r,
pairs.panels,
pairwiseDescribe,
parcels,
partial.r,
phi,
phi2tetra,
phi2poly,
phi2poly.matrix,
plot.psych,
plot.irt,
plot.poly,
plot.poly.parallel,
plot.residuals,
polar,
polychoric,
polydi,
polyserial,
poly.mat,
p.rep,
p.rep.f,
p.rep.r,
p.rep.t,
predict.psych,
principal,
pca,
print.psych,
progressBar,
Promax,
psych,
phi.demo,
phi.list,
psych.misc,
radar,
rangeCorrection,
read.clipboard,
read.clipboard.csv,
read.clipboard.fwf,
read.clipboard.tab,
read.clipboard.lower,
read.clipboard.upper,
read.file,
read.file.csv,
read.https,
residuals.psych,
reflect,
resid.psych,
rescale,
response.frequencies,
reverse.code,
r.con,
r.test,
r2c,
r2d,
r2t,
r2chi,
rmssd,
scaling.fits,
scatterHist,
scatter.hist,
score.alpha,
scoreItems,
score.items,
scoreFast,
score.multiple.choice,
scoreIrt,
scoreIrt.1pl,
scoreIrt.2pl,
score.irt,
score.irt.2,
score.irt.poly,
scoreOverlap,
scree,
schmid,
scrub,
SD,
set.cor,
setCor,
setCor.diagram,
shannon,
sim,
sim.anova,
sim.circ,
simulation.circ,
sim.congeneric,
sim.correlation,
sim.dichot,
sim.general,
sim.item,
sim.spherical,
sim.minor,
sim.omega,
sim.parallel,
sim.rasch,
sim.irt,
sim.npl,
sim.npn,
sim.poly,
sim.poly.npl,
sim.poly.npn,
sim.poly.ideal,
sim.poly.ideal.npl,
sim.poly.ideal.npn,
sim.poly.mat,
sim.simplex,
sim.structure,
sim.structural,
sim.hierarchical,
sim.multilevel,
sim.multi,
sim.VSS,
smc,
spider,
splitHalf,
statsBy,
statsBy.boot,
statsBy.boot.summary,
summary.psych,
superMatrix,
super.matrix,
structure.diagram,
structure.graph,
structure.list,
structure.sem,
tableF,
table2df,
table2matrix,
target.rot,
TargetQ,
test.psych,
test.all,
test.irt,
tenberge,
tetrachoric,
thurstone,
topBottom,
tr,
t2r,
skew,
unidim,
varimin,
violinBy,
vgQ.bimin,
vgQ.targetQ,
vgQ.varimin,
VSS.parallel,
VSS.plot,
vss,
VSS,
VSS.scree,
VSS.sim,
VSS.simulate,
winsor,
winsor.means,
winsor.mean,
winsor.sd,
winsor.var,
write.file,
write.file.csv,
Yule,
YuleCor,
YuleBonett,
Yule.inv,
Yule2phi,
Yule2phi.matrix,
Yule2poly,
Yule2poly.matrix,
Yule2tetra
)
