useDynLib(multimode,.registration = TRUE)
importFrom(rootSolve,uniroot.all)
importFrom(ks,kcde,kdde,kde)
importFrom(diptest,dip,dip.test)
importFrom("graphics","box","image", "legend", "lines", "plot")
importFrom("stats", "approx", "density", "dist", "dnorm", "fft","integrate", "optimize", "pnorm", "qnorm", "quantile","rbeta", "rnorm", "rt", "runif", "sd")
importFrom("grDevices", "grey")
export(bw.crit,excessmass,locmodes,modeforest,modetest,modetree,nmodes,sizer)
S3method(print, estmod)
S3method(print, locmod)
S3method(plot, locmod)
S3method(print, gtmod)
S3method(plot, gtmod)
S3method(summary, gtmod)
