export(sim.pastor, sim.my, sim.chngpt, lincomb, sim.hinge, hinge.test, double.hinge, plot.double.hinge)
importFrom(kyotil, '%.%', rbern, expit, keepWarnings, myprint, concatList, mysapply, "tXDX", "interpolate", "last", getFixedEf, abline.pt.slope, contain)
importFrom("stats", "as.formula", "coef", "complete.cases", "cov2cor", "cov",

export(sim.pastor, sim.my, sim.chngpt, lincomb, sim.hinge, hinge.test)

export(sim.threephase, sim.twophase.ran.inte, sim.pastor, sim.my, sim.chngpt, lincomb, sim.hinge, hinge.test, double.hinge, plot.double.hinge, threshold.func, predictx, convert.coef)
importFrom(kyotil, '%.%', rbern, expit, keepWarnings, myprint, concatList, mysapply, "tXDX", "interpolate", "last", getFixedEf, abline.pt.slope, contain, empty.plot, rnorm.ar)
"deriv3", "glm", "logLik", "AIC", "median", "model.frame",
"smooth.spline", "vcov", "sigma", "resid", "lm.fit", "rbinom", "residuals","fitted")

export(sim.pastor, sim.my, sim.chngpt, lincomb, sim.hinge, hinge.test, double.hinge, plot.double.hinge, threshold.func, predictx, convert.coef)

importFrom(kyotil, '%.%', rbern, expit, keepWarnings, myprint, concatList, mysapply, "tXDX", "interpolate", "last", getFixedEf, abline.pt.slope, contain, empty.plot)

"smooth.spline", "vcov", "sigma", "resid", "lm.fit", "rbinom", "residuals","fitted","deviance")

importFrom("stats", "var", "pnorm", "dhyper", "sd", "terms")

importFrom("stats", "coef", "dbinom", "dexp", "dnbinom", "lm", "mad",
"median", "na.omit", "optim", "predict", "rbinom", "rexp",

import("haarfisz", "gdata")
export("buildCIM", "correctCIM", "correctPairCIM", "segmentCIM", "compareCIM")

importFrom("graphics", "axis", "barplot", "hist", "par", "plot",

importFrom("graphics", "Axis", "axis", "barplot", "hist", "par",
"plot", "plot.default", "plot.new", "plot.window", "rect")

importFrom("stats", "as.dendrogram", "dist", "hclust", "order.dendrogram")

circular, conversion.circular, circularp, "circularp<-", is.circular,
rvonmises, dvonmises, pvonmises, rmixedvonmises, dmixedvonmises,

rvonmises, dvonmises, pvonmises, qvonmises, rmixedvonmises, dmixedvonmises,