##importFrom(abind,abind) 
##import(rpart)
import(methods)
importFrom(rpart,rpart,prune.rpart)
##import(xts)
importFrom(xts,as.xts,xts)
##import(quantmod)
importFrom(quantmod, newTA, Delt, candleChart, Cl, Hi, Lo, Op)
importFrom(zoo,as.zoo,zoo,coredata,index)
importFrom(class,knn)
##import(ROCR)
importFrom("stats", "aggregate", "complete.cases", "dist", "median",
             "model.frame", "model.response", "sd", "embed")
importFrom("readr","read_csv")
importFrom("DBI","dbGetQuery")

exportClasses(
    tradeRecord
            )

exportMethods(show)
exportMethods(summary)
exportMethods(plot)

export(
       
       # kNN.R file
       kNN,
       
       # OR.R file
       outliers.ranking,
       
       # selfTraining.R file
       SelfTrain,
       
       # LOF.R file
       lofactor,
       
       # trading.R file
       trading.simulator,
       sigs.PR,
       trading.signals,
       tradingEvaluation,
       #.addEq,
       .Eq,
       #.addSt,
       .St,
       
       # trees.R file
       rpartXse,
       rt.prune,

       # utils.R file
       centralValue,
       manyNAs,
       centralImputation,
       knnImputation,
       SoftMax,
       createEmbedDS,
       nrLinesFile,
       sampleCSV,
       sampleDBMS,

       # classes.R file (the class constructors need to be exported)
       tradeRecord
       )


