export (SPIAPlot, SPIATest, toSPIAData )

importFrom("graphics", "abline", "barplot", "grid", "legend", "lines",

importFrom("graphics", "abline", "lines", "matplot", "plot")
importFrom("stats", "aggregate", "dlogis", "dnorm", "formula", "lm",
"model.extract", "model.matrix", "optim", "plogis", "pnorm",
"qlogis", "qnorm", "quantile", "rnorm", "runif", "sd")

# Import function "rbeta()" and "runif()" from "stats"

importFrom(stats, contr.helmert, lm, polym, step)

importFrom("stats", "cor", "median", "model.matrix", "predict", "rbinom", "rexp", "rnorm", "runif", "sd", "var")
importFrom("limma", "makeContrasts", "lmFit", "eBayes", "topTable", "contrasts.fit")

importFrom("stats", "binomial", "coef", "dnorm", "glm", "model.frame",

# since Depends: R (>= 2.3.0) already, check pre 2.4.0 only
if (paste(R.version$major, R.version$minor, sep=".") < "2.4.0") {
export(sort, median)      # uses quantile, w/c uses sort()
export(quantile.default)  # to use sort()

importFrom("stats", "ecdf", "median", "quantile", "rnorm")

import(parallel, graphics, stats, grDevices, methods)

exportMethods("show", "view", "viewplot", "edit", "toHTML")

importFrom("graphics", "hist", "abline", "legend", "lines", "par", "plot")

export(additive.function, BlockPredict, covparms, createDistMat, EmpiricalSemivariogram, Torgegram, getPreds, glmssn, getSSNdata.frame, GR2, importPredpts, importSSN, InfoCritCompare, noPoints, putSSNdata.frame, plot.Torgegram, plot.glmssn.predict, plot.influenceSSN, plot.SpatialStreamNetwork, predict.glmssn, SimulateOnSSN, residuals.glmssn, subsetSSN, summary.SpatialStreamNetwork, varcomp, CrossValidationSSN, CrossValidationStatsSSN, BLUP, writeSSN, updatePath, splitPredictions)
import(igraph, MASS, BH, maptools, lattice, sp, methods)

import(igraph, MASS, maptools, lattice, sp, methods, RSQLite)
export(additive.function, BlockPredict, covparms, createDistMat, EmpiricalSemivariogram, Torgegram, getPreds, glmssn, getSSNdata.frame, GR2, importPredpts, importSSN, InfoCritCompare, noPoints, putSSNdata.frame, plot.Torgegram, plot.glmssn.predict, plot.influenceSSN, plot.SpatialStreamNetwork, predict.glmssn, SimulateOnSSN, residuals.glmssn, subsetSSN, summary.SpatialStreamNetwork, varcomp, CrossValidationSSN, CrossValidationStatsSSN, BLUP, writeSSN, updatePath, splitPredictions, print.summary.glmssn, getStreamDistMat, copyLSN2temp, getConfusionMat)
importFrom("graphics", "hist", "layout", "legend", "lines", "par",
importFrom("stats", "AIC", "as.formula", "contrasts", "glm", "median",
"printCoefmat", "pt", "qqnorm", "qt", "quantile", "rbinom",
"residuals", "rnorm", "rpois", "runif", "terms")