## import(ordinal)
importFrom(numDeriv,
           grad,
           hessian)
importFrom(graphics, plot, contour)
import(MASS) ## to get the confint.glm method
importFrom(stats, coef, confint, logLik, profile, vcov, update,
           family, extractAIC)
importFrom(multcomp, contrMat)

# functions
export(AnotA, discrimPwr, discrimSS, discrim, #discrimr,
       discrimSim, duotrio, threeAFC, triangle, twoAFC, tetrad,
       SDT, ROC, AUC,
       samediff, findcr, betabin, samediffSim, discrimR, clls,
       samediffPwr, twoAC, rescale, psyfun, psyinv, psyderiv, pc2pd,
       pd2pc, d.primePwr, d.primeSS, twoACpwr, clm2twoAC,
       dprime_table, dprime_test, dprime_compare, posthoc)

S3method(posthoc, dprime_test)
S3method(posthoc, dprime_compare)
S3method(print, dprime_test)
S3method(print, dprime_compare)
S3method(print, posthoc.dprime_test)
S3method(print, posthoc.dprime_compare)

S3method(print, betabin)
S3method(summary, betabin)
S3method(print, summary.betabin)
S3method(vcov, betabin)
S3method(logLik, betabin)

S3method(print, discrim)
S3method(plot, discrim)
S3method(confint, discrim)
S3method(profile, discrim)
S3method(plot, profile.discrim)

S3method(ROC, default)
S3method(ROC, anota)
S3method(AUC, anota)
S3method(AUC, default)
S3method(print, AUC)
S3method(print, anota)
S3method(plot, anota)
S3method(confint, anota)

S3method(print, samediff)
S3method(coef, samediff)
S3method(vcov, samediff)
S3method(logLik, samediff)
S3method(profile, samediff)
S3method(summary, samediff)
S3method(confint, samediff)
S3method(contour, samediff)
S3method(plot, profile.samediff)
S3method(print, summary.samediff)
S3method(plot, samediff)

S3method(print, clls)
S3method(summary, clls)
S3method(print, summary.clls)
S3method(anova, clls)
S3method(logLik, clls)
S3method(vcov, clls)
S3method(extractAIC, clls)
## S3method(confint, clls)
## S3method(profile, clls)
## S3method(plot, profile.clls)

S3method(print, twoAC)
S3method(confint, twoAC)
S3method(profile, twoAC)
S3method(confint, profile.twoAC)
S3method(plot, profile.twoAC)
S3method(vcov, twoAC)
S3method(logLik, twoAC)

S3method(print, rescale)

