export(	
       # rminer high level functions (most relevant):
       "fit",
       # predict (included in methods, check ?predict.fit)
       "mining",
       "Importance",
       "mgraph",
       "vecplot",
       "mmetric",
       "metrics",
       "meanint",
       "medianminingpar",
       "loadmodel",
       "savemodel",
       "loadmining",
       "savemining",
       "agg_matrix_imp",
       "cmatrixplot",
       "imputation",
       "delevels",
       "svmgrid",

       # time series:
       "CasesSeries", 
       "lforecast",
       "forplot",
       "tsplot",

       # other functions, not that relevant:
       "mpause",
       "holdout",
       "crossvaldata",
       "datalevels",
       "RECcurve",
       "ROCcurve",
       "rmboxplot",
       "s_measure",
       "naivebayes",
       "factorize"
      )

#importFrom("stats","cov2cor","toeplitz","update")
importFrom("nnet","nnet")
importFrom("kknn","kknn")
importFrom("kernlab","ksvm")
importFrom("rpart","rpart")
importFrom("grDevices","pdf","dev.off")
importFrom("graphics","plot","segments","hist","par","lines","points","legend","axis","abline","filled.contour","text","boxplot")
importFrom("plotrix","color2D.matplot","color.legend")
importFrom("lattice","wireframe")

import(methods) 

exportMethods("predict")

exportClasses("model")

S3method(naivebayes,default)
S3method(naivebayes,formula)
S3method(predict,naivebayes)

#S3method(predict,model)
