

useDynLib(sirt)



####################################################
################## IMPORTS #########################

#***************************************************
#*************** R Basics / Linking To *************

importFrom(graphics, abline)
importFrom(graphics, dotchart)
importFrom(graphics, lines)
importFrom(graphics, par)
importFrom(graphics, plot)
importFrom(graphics, points)
importFrom(graphics, polygon)
importFrom(graphics, rug)
importFrom(graphics, segments)
importFrom(graphics, text)
importFrom(methods, is)
importFrom(Rcpp, evalCpp)
importFrom(stats, acf)
importFrom(stats, aggregate)
importFrom(stats, anova)
importFrom(stats, as.dist)
importFrom(stats, as.formula)
importFrom(stats, coef)
importFrom(stats, cor)
importFrom(stats, cov)
importFrom(stats, cov2cor)
importFrom(stats, cutree)
importFrom(stats, dbeta)
importFrom(stats, dnorm)
importFrom(stats, fitted)
importFrom(stats, glm)
importFrom(stats, hclust)
importFrom(stats, ksmooth)
importFrom(stats, lm)
importFrom(stats, logLik)
importFrom(stats, mad)
importFrom(stats, median)
importFrom(stats, model.matrix)
importFrom(stats, na.omit)
importFrom(stats, optim)
importFrom(stats, optimize)
importFrom(stats, p.adjust)
importFrom(stats, pchisq)
importFrom(stats, plogis)
importFrom(stats, pnorm)
importFrom(stats, predict)
importFrom(stats, promax)
importFrom(stats, qlogis)
importFrom(stats, qnorm)
importFrom(stats, quantile)
importFrom(stats, rbeta)
importFrom(stats, rect.hclust)
importFrom(stats, resid)
importFrom(stats, residuals)
importFrom(stats, rgamma)
importFrom(stats, rnorm)
importFrom(stats, runif)
importFrom(stats, sd)
importFrom(stats, spline)
importFrom(stats, var)
importFrom(stats, vcov)
importFrom(stats, weighted.mean)
importFrom(utils, flush.console)
importFrom(utils, packageDescription)
importFrom(utils, read.table)
importFrom(utils, write.table)



#***************************************************
#************** Depends ****************************

import(CDM)
import(TAM)



#***************************************************
#************** Imports ****************************


importFrom(coda, as.mcmc.list)
importFrom(coda, effectiveSize)
importFrom(combinat, combn)
importFrom(gtools, permutations)
importFrom(ic.infer, orlm.lm)
importFrom(igraph, graph.edgelist)
importFrom(lavaan, cfa)
importFrom(lavaan, fitMeasures)
importFrom(lavaan, lavaanify)
importFrom(lavaan, parameterEstimates)
importFrom(lavaan, standardizedSolution)
importFrom(lavaan, sem)
importFrom(lavaan.survey, lavaan.survey)
importFrom(Matrix, bdiag)
importFrom(MASS, mvrnorm)
importFrom(mirt, extract.item)
importFrom(mirt, mirt)
importFrom(mirt, itemplot)
importFrom(mirt, mirt.model)
importFrom(mirt, probtrace)
importFrom(mvtnorm, dmvnorm)
importFrom(mvtnorm, pmvnorm)
importFrom(mvtnorm, rmvnorm)
importFrom(pbivnorm, pbivnorm)
importFrom(plyr, rbind.fill)
importFrom(psych, cor.smooth)
importFrom(psych, fa)
importFrom(psych, fisherz)
importFrom(psych, omega)
importFrom(sfsmisc, QUnif)
importFrom(sm, h.select)
importFrom(sm, sm.binomial)
importFrom(survey, svydesign)

 #*** not imported anymore
 # import(qgraph)
 # import(semPlot)





####################################################
################## EXPORTS #########################

export(   
   automatic.recode,
   brm.irf,
   brm.sim,
   btm,
   categorize,
   ccov.np,
   class.accuracy.rasch,
   colCumsums.sirt,
   conf.detect,
   data.wide2long,
   decategorize,
   detect.index,
   dif.logistic.regression,
   dif.strata.variance,
   dif.variance,
   dirichlet.mle,
   dirichlet.simul,
   eigenvalues.manymatrices,
   eigenvalues.sirt,
   equating.rasch,
   equating.rasch.jackknife,
   expl.detect,
   f1d.irt,
   fit.adisop,
   fit.isop,
   fuzcluster,
   fuzdiscr,
   genlogis.moments,
   gom.em,
   gom.jml,
   greenyang.reliability,
   invariance.alignment,
   IRT.mle,
   isop.dich,
   isop.poly,
   isop.scoring,
   isop.test,
   latent.regression.em.normal,
   latent.regression.em.raschtype,
   lavaan2mirt,
   lc.2raters,
   likelihood.adjustment,
   linking.haberman,
   linking.robust,
   lsdm,
   lsem.estimate,
   lsem.MGM.stepfunctions,
   lsem.permutationTest,
   marginal.truescore.reliability,
   mcmc.2pno,
   mcmc.2pno.ml,
   mcmc.2pnoh,
   mcmc.3pno.testlet,
   mcmc.list.descriptives,
   mcmclist2coda,
   md.pattern.sirt,
   mirt.specify.partable,
   mirt.wrapper.coef,
   mirt.wrapper.fscores,
   mirt.wrapper.itemplot,
   mirt.wrapper.posterior,
   mle.pcm.group,
   modelfit.cor.poly,
   modelfit.sirt,
   monoreg.colwise,
   monoreg.rowwise,
   nedelsky.irf,
   nedelsky.latresp,
   nedelsky.sim,
   noharm.sirt,
   np.dich,
   pbivnorm2,
   pcm.conversion,
   pcm.fit,
   person.parameter.rasch.copula,
   personfit.stat,
   pgenlogis,
   plausible.value.imputation.raschtype,
   polychoric2,
   prmse.subscores.scales,
   prob.guttman,
   Q3,
   Q3.testlet,
   qmc.nodes,
   R2conquest,
   R2noharm,
   R2noharm.EAP,
   R2noharm.jackknife,
   rasch.conquest,
   rasch.copula2,
   rasch.copula3,
   rasch.evm.pcm,
   rasch.jml,
   rasch.jml.biascorr,
   rasch.jml.jackknife1,
   rasch.mirtlc,
   rasch.mml2,
   rasch.pairwise,
   rasch.pairwise.itemcluster,
   rasch.pml2,
   rasch.pml3,
   rasch.prox,
   rasch.va,
   read.multidimpv,
   read.pimap,
   read.pv,
   read.show,
   read.show.regression,
   read.show.term,
   reliability.nonlinearSEM,
   rm.facets,
   rm.sdt,
   rowCumsums.sirt,
   rowIntervalIndex.sirt,
   rowKSmallest.sirt,
   rowKSmallest2.sirt,
   rowMaxs.sirt,
   rowMins.sirt,
   sia.sirt,
   sim.qm.ramsay,
   sim.rasch.dep,
   sim.raschtype,
   smirt,
   stratified.cronbach.alpha,
   summary.R2noharm,
   tam2mirt,
   testlet.marginalized,
   testlet.yen.q3,
   tetrachoric2,
   truescore.irt,
   unidim.test.csn,
   wle.rasch,
   wle.rasch.jackknife,
   yen.q3
)    
    





################################################
################ S3 methods ####################

S3method(anova, gom)
S3method(anova, prob.guttman)
S3method(anova, rasch.copula2)
S3method(anova, rasch.copula3)
S3method(anova, rasch.mirtlc)
S3method(anova, rasch.mml)
S3method(anova, rm.facets)
S3method(anova, rm.sdt)
S3method(anova, smirt)
S3method(coef, rasch.evm.pcm )
S3method(IRT.factor.scores, rm.facets)
S3method(IRT.factor.scores, rm.sdt)
S3method(IRT.irfprob, gom)
S3method(IRT.irfprob, prob.guttman)
S3method(IRT.irfprob, rasch.mirtlc)
S3method(IRT.irfprob, rasch.mml)
S3method(IRT.irfprob, rm.facets)
S3method(IRT.irfprob, rm.sdt)
S3method(IRT.irfprob, SingleGroupClass)
S3method(IRT.irfprob, smirt)
S3method(IRT.likelihood, gom)
S3method(IRT.likelihood, rasch.copula2)
S3method(IRT.likelihood, rasch.copula3)
S3method(IRT.likelihood, rasch.mirtlc)
S3method(IRT.likelihood, rasch.mml)
S3method(IRT.likelihood, rm.facets)
S3method(IRT.likelihood, SingleGroupClass)
S3method(IRT.likelihood, smirt)
S3method(IRT.modelfit, gom)
S3method(IRT.modelfit, rasch.mirtlc)
S3method(IRT.modelfit, rasch.mml)
S3method(IRT.modelfit, rm.facets)
S3method(IRT.modelfit, rm.sdt)
S3method(IRT.modelfit, smirt)
S3method(IRT.posterior, gom)
S3method(IRT.posterior, prob.guttman)
S3method(IRT.posterior, rasch.copula2)
S3method(IRT.posterior, rasch.copula3)
S3method(IRT.posterior, rasch.mirtlc)
S3method(IRT.posterior, rasch.mml)
S3method(IRT.posterior, rm.facets)
S3method(IRT.posterior, rm.sdt)
S3method(IRT.posterior, SingleGroupClass)
S3method(IRT.posterior, smirt)
S3method(logLik, gom)
S3method(logLik, prob.guttman)
S3method(logLik, rasch.copula2)
S3method(logLik, rasch.copula3)
S3method(logLik, rasch.mirtlc)
S3method(logLik, rasch.mml)
S3method(logLik, rm.facets)
S3method(logLik, rm.sdt)
S3method(logLik, smirt)
S3method(plot, isop)
S3method(plot, linking.robust)
S3method(plot, lsem)
S3method(plot, lsem.permutationTest)
S3method(plot, mcmc.sirt)
S3method(plot, np.dich)
S3method(plot, rasch.mml)
S3method(plot, rm.sdt)
S3method(summary, btm)
S3method(summary, fuzcluster)
S3method(summary, gom)
S3method(summary, gom.jml)
S3method(summary, invariance.alignment)
S3method(summary, IRT.modelfit.gom)
S3method(summary, IRT.modelfit.rasch.mirtlc)
S3method(summary, IRT.modelfit.rasch.mml)
S3method(summary, IRT.modelfit.rm.facets)
S3method(summary, IRT.modelfit.rm.sdt)
S3method(summary, IRT.modelfit.smirt)
S3method(summary, isop)
S3method(summary, isop.test)
S3method(summary, latent.regression)
S3method(summary, lc.2raters)
S3method(summary, linking.robust)
S3method(summary, lsdm)
S3method(summary, lsem)
S3method(summary, lsem.permutationTest)
S3method(summary, mcmc.sirt)
S3method(summary, modelfit.sirt)
S3method(summary, noharm.sirt)
S3method(summary, prob.guttman)
S3method(summary, R2conquest)
S3method(summary, R2noharm)
S3method(summary, R2noharm.jackknife)
S3method(summary, rasch.conquest)
S3method(summary, rasch.copula)
S3method(summary, rasch.copula2)
S3method(summary, rasch.copula3)
S3method(summary, rasch.evm.pcm)
S3method(summary, rasch.jml)
S3method(summary, rasch.mirtlc)
S3method(summary, rasch.mml)
S3method(summary, rasch.pairwise)
S3method(summary, rasch.pml)
S3method(summary, rm.facets)
S3method(summary, rm.sdt)
S3method(summary, smirt)
S3method(vcov, rasch.evm.pcm )
