import(survival)
importFrom("graphics", "abline", "legend", "par", "plot")
importFrom("stats", "approx", "binomial", "glm", "quantile", "runif",
"sd", "stepfun", "update")
exportPattern("^[[:alpha:]]+")
export(nricens, get.uppdwn, nricens.ipw.main, nricens.km.main, get.surv.km, get.risk.coxph, get.risk.survreg, nribin, get.uppdwn.bin, nribin.count.main, categorize)

import(survival)
importFrom("graphics", "abline", "legend", "par", "plot")
importFrom("stats", "approx", "binomial", "glm", "quantile", "runif",
"sd", "stepfun", "update")
exportPattern("^[[:alpha:]]+")
export(nricens, get.uppdwn, nricens.ipw.main, nricens.km.main, get.surv.km, get.risk.coxph, get.risk.survreg, nribin, get.uppdwn.bin, nribin.count.main, categorize)

importFrom("grDevices", "rainbow", "col2rgb", "dev.new", "rgb")
import(stats, methods, utils, graphics, sde, survival)

importFrom("graphics", "barplot", "hist", "lines", "plot", "points", "rect",
importFrom("stats", "binomial", "dnorm", "dpois", "glm", "pnorm", "quantile",
"rbinom", "rmultinom", "rnorm", "var", "weighted.mean", "weights")

"rbinom", "rmultinom", "rnorm", "var", "weighted.mean")

importFrom(graphics, abline, arrows, axTicks, axis, box,
curve, grid, hist, layout, legend, lines, mtext,
par, plot, points, polygon, rug, segments, text)
importFrom(stats, acf, approx, complete.cases, density, dnorm, runif,
kmeans, median, nlminb, optim, pnorm, quantile, rnorm, sd, var)

importFrom(utils, write.csv, View, edit, setTxtProgressBar, txtProgressBar)

export(analyseBINdata, as_analyseBIN, calDA, calED, calRcyRcp,
calSARED, calSGCED, dbED, decomp, fastED, fitGrowth,
loadBINdata, lsNORM, mcFMM, mcMAM, pickBINdata,

"runif", "rnorm", "pt", "qt", "rgamma", "pnorm",
"sd", qchisq, "qnorm", "dnorm", "qgamma", "uniroot")

"runif", "rnorm", "pt", "qt", "dt", "pgamma", "rgamma", "pnorm",
"sd", qchisq, "qnorm", "dnorm", "qgamma", "uniroot", "cov2cor",
"cor", "cov", "cov.wt", "optim", "var", "pchisq",
"dgamma", "mahalanobis", "pf", "ppoints", "qf")

"cor", "cov", "cov.wt", "optim", "optimize", "var", "pchisq",
"dgamma", "mahalanobis", "pf", "ppoints", "qf", "df")
export("dnvmix", "pnvmix", "rnvmix", "pgnvmix", "rgnvmix", "dgnvmix",
"dStudent", "dgStudent", "pStudent", "rStudent", "fitStudent", "pgStudent", "rgStudent",
"dNorm", "pNorm", "rNorm", "fitNorm", "rNorm_sumconstr",