useDynLib(RRF,.registration = TRUE)

export(combine, getTree, grow, importance, margin, MDSplot, na.roughfix,
       partialPlot, RRF, rrfImpute, treesize, tuneRRF,
       varImpPlot, varUsed, rrfNews, outlier, classCenter, rrfcv)

importFrom("grDevices", "rainbow")
importFrom("graphics", "axis", "barplot", "dotchart", "lines",
             "matplot", "mtext", "pairs", "par", "plot", "plot.default",
             "points")
importFrom("stats", "delete.response", "mad", "median", "model.frame",
             "model.response", "na.fail", "na.omit", "predict",
             "quantile", "reformulate", "terms", "update", "var",
             "weighted.mean")

S3method(print, RRF)
S3method(predict, RRF)
S3method(plot, RRF)
S3method(plot, margin)
S3method(margin, RRF)
S3method(partialPlot, RRF)
S3method(grow, RRF)
S3method(importance, RRF)
S3method(outlier, RRF)
S3method(outlier, default)

S3method(RRF, formula)
S3method(RRF, default)
S3method(rrfImpute, formula)
S3method(rrfImpute, default)

S3method(na.roughfix, data.frame)
S3method(na.roughfix, default)

S3method(grow, default)
S3method(importance, default)
S3method(margin, default)
S3method(partialPlot, default)
