export(tess.likelihood, tess.likelihood.rateshift, tess.analysis, tess.nTaxa.expected, tess.mcmc, tess.pathSampling, tess.process.output, tess.plot.output, tess.plot.singlechain.diagnostics, tess.plot.multichain.diagnostics, tess.PosteriorPrediction, tess.PosteriorPredictiveTest, tess.sim.age, tess.sim.taxa.age, tess.sim.taxa,tess.steppingStoneSampling)
import(ape,coda,deSolve)
useDynLib(TESS)
importFrom(Rcpp, evalCpp)
importFrom("grDevices", "rgb")
importFrom("graphics", "abline", "axis", "barplot", "box", "par", "plot", "polygon")
importFrom("stats", "approxfun", "dbeta", "dexp", "dgamma", "dlnorm", "dnorm", "dpois", "dunif", "integrate", "ks.test", "na.omit", "optimize", "pnorm", "qbeta", "qnorm", "quantile", "rbeta", "reorder", "rgamma", "rgeom", "rlnorm", "rnorm", "runif", "var")
importFrom("utils", "read.table", "setTxtProgressBar", "txtProgressBar", "write.table")

export(tess.likelihood, tess.likelihood.rateshift, tess.analysis, tess.nTaxa.expected, tess.mcmc, tess.pathSampling, tess.process.output, tess.plot.output, tess.plot.singlechain.diagnostics, tess.plot.multichain.diagnostics, tess.PosteriorPrediction, tess.PosteriorPredictiveTest, tess.sim.age, tess.sim.taxa.age, tess.sim.taxa,tess.steppingStoneSampling)
import(ape,coda,deSolve)
useDynLib(TESS, .registration = TRUE)
importFrom(Rcpp, evalCpp)
importFrom("grDevices", "rgb")
importFrom("graphics", "abline", "axis", "barplot", "box", "par", "plot", "polygon")
importFrom("stats", "approxfun", "dbeta", "dexp", "dgamma", "dlnorm", "dnorm", "dpois", "dunif", "integrate", "ks.test", "na.omit", "optimize", "pnorm", "qbeta", "qnorm", "quantile", "rbeta", "reorder", "rgamma", "rgeom", "rlnorm", "rnorm", "runif", "var")
importFrom("utils", "read.table", "setTxtProgressBar", "txtProgressBar", "write.table")

print.tepPLS,  print.tepPLSCA, R2, tepBADA, tepDICA, tepGraphs,

exportClasses(dat, kin, spec, mass, amp,
theta, multimodel, res, multitheta, kinopt,
export(dat, kin, spec, mass, amp, theta, multimodel, res, multitheta,
kinopt, specopt, massopt, opt, fit, addDscal, getDiffThetaChange,
plotFLIM, addPrelCl, getDiffThetaClChange, plotKinBreakDown, addPrel,
getDiffThetaCl, plotClp, getDiffTheta, baseCorlambda, getFixed,
getModel, plotter, calcB, getPar, calcCirf,
getPrel, plotTracesSuper, calcC, getPrelTheta, calcEbspline,
calcEhiergaus, getSpecList, rescomp, compCoh, residPart, compModel,
getSpecToPlot, getThetaCl, sample_sel, getTheta, diffAdd, diffChange,
diffFree, diffRel, diffRemove, displayEst, initModellist, doClpConstr,
simndecay_gen, doSVD, simpExp, simpPol, skew, specModel, irfparF,
specparF, fillK, l2nu, linloglines, fullKF, linlogplot, gaus,
getClpConstr, weightNL, matlinlogplot, weightPsi, getCoh,
writeEst, getCohToPlot, normdat, writeFit, getConToPlot,
displayEst, plotKinSpecEst, fillResult, getResid, getResidRet,
processOrder, multiLin, readclp0, compModelMass, barplot3,
outlierCorr, linlogtics, unitstep, modifyModel, parEst, onls,
sumnls, getCLPList, getData, getSVDResiduals, getSVDData,
getTraces, getdim1, getdim2, getX, getC, getCLP, getDAS, getResiduals, getXList,