importFrom(graphics, plot, par, legend, polygon)
export(aquaenv, convert, c.aquaenv, TAfit, titration, K_BOH3, K_CO2, K_H2PO4, K_H2S, K_H3PO4, K_HCO3, K_HF, K_HPO4, K_HSO4, K_NH4, K_SiOH4, K_SiOOH3, K_W, K0_CO2, K0_O2, Ksp_aragonite, Ksp_calcite, PhysChemConst, Technicals, DeltaPcoeffs, MeanMolecularMass, ConcRelCl, gauge_p, watdepth, BufferFactors)

importFrom("stats", "ks.test", "mad", "median", "sd", "wilcox.test")

importFrom("stats", "acf", "cov", "dbinom", "dnorm", "integrate",
"optimise", "pnorm", "qchisq", "qnorm", "qt", "rbinom",

"qbeta",   "optimise", "pnorm", "qchisq", "qnorm", "qt", "rbinom",

# Export pretty-well everything except ".newt", "plot.stepfun" and "rwmax".
export(a2sf, qj2i, turnPts, xsolve.disc, buildS, getPossPrices,
plot.flap, vsolve, xsolve.pwl, cev, i2qj, scrF, vupdate, xsolve,
findSolType, initx, putAway, scrG, xsolve.cont)

# Export pretty-well everything except ".newt", "plot.stepfun" and "rwmax".
export(a2sf, qj2i, turnPts, xsolve.disc, buildS, getPossPrices,
plot.flap, vsolve, xsolve.pwl, cev, i2qj, scrF, vupdate, xsolve,
findSolType, initx, putAway, scrG, xsolve.cont)

# Export pretty-well everything except ".newt", "plot.stepfun" and "rwmax".
export(a2sf, qj2i, turnPts, xsolve.disc, buildS, getPossPrices,
plot.flap, vsolve, xsolve.pwl, cev, i2qj, scrF, vupdate, xsolve,
findSolType, initx, putAway, scrG, xsolve.cont)

# Export pretty-well everything except ".newt", "plot.stepfun" and "rwmax".
export(a2sf, qj2i, turnPts, xsolve.disc, buildS, getPossPrices,
plot.AssetPricing, plot.flap, vsolve, xsolve.pwl, cev, i2qj, scrF, vupdate, xsolve,
findSolType, initx, putAway, scrG, xsolve.cont)

# Export pretty-well everything except ".newt", and "plot.stepfun".
export(a2sf, getPossPrices, plot.flap, turnPts, buildS, getS, vupdate, cev,
i2qj, putAway, xsolve.cont, initx, qj2i, xsolve.disc, findSolType,
xsolve.pwl, plot.AssetPricing, scrF, scrG, vsolve, xsolve)
# Import polynom and deSolve:
import(polynom, deSolve)

# Export pretty-well everything except ".newt", and "plot.stepfun".
export(a2sf, getPossPrices, plot.flap, turnPts, buildS, getS, vupdate, cev,
i2qj, putAway, xsolve.cont, initx, qj2i, xsolve.disc, findSolType,
xsolve.pwl, plot.AssetPricing, scrF, scrG, vsolve, xsolve, progRep)
# Import polynom and deSolve:
import(polynom, deSolve)