importFrom("graphics", "abline", "axis", "hist", "legend", "lines")
importFrom("stats", "lm", "na.pass", "pf", "rnorm")

importFrom("stats", "na.exclude", "qt", "residuals", "terms")

import(zoo, jpeg, doParallel, foreach, iterators)
importFrom(raster, brick, aggregate, plotRGB, raster, as.array)
importClassesFrom(raster, Extent, BasicRaster, Raster, RasterLayer, RasterBrick, RasterStack, RasterStackBrick)
importFrom("grDevices", "dev.off", "dev.print", "jpeg", "palette",
importFrom("graphics", "abline", "arrows", "axis", "boxplot", "legend",
"lines", "locator", "mtext", "par", "points", "polygon",
importFrom("stats", "D", "coef", "coefficients", "confint", "fitted",
"formula", "kmeans", "lm", "median", "na.omit", "nls",
"optim", "predict", "quantile", "runif", "sd",

importFrom(raster, brick, aggregate, plotRGB, raster, as.array, values,
coordinates, rasterToContour, drawPoly, bind, mask, shift, extent, resample)
importFrom(sp, plot, Polygon, Polygons, SpatialPolygons)
importClassesFrom(raster, Extent, BasicRaster, Raster, RasterLayer,

"axis", "box", "identify", "image", "layout", "layout.show",
importFrom("stats", "density", "dnorm", "fft", "filter", "frequency",
"glm", "lm", "model.frame", "model.matrix", "pf", "prcomp",
"printCoefmat", "pt", "rnorm", "sd", "t.test", "ts", "var")
importFrom("utils", "flush.console", "head", "read.table", "tail")

importFrom("graphics", "axis", "box", "image", "lines", "par",
"plot.new", "plot.window", "points", "rect", "title")
importFrom("stats", "coef", "dist", "na.exclude", "nls",
"nls.control", "predict", "sd", "median", "quantile")

"plot.new", "plot.window", "points", "rect", "title",
importFrom("stats", "coef", "dist", "na.exclude", "nls", "as.dist",

exportPattern("^[[:alpha:]]+")
import(grid, graphics, grDevices, stats, utils, ape, phylobase, datasets, methods)

import(grid, graphics, grDevices, phylobase, datasets,NHPoisson)

exportMethods(print, head, tail, reorder, plot, summary)
exportMethods(edges, edgeId, hasEdgeLength, edgeLength, "edgeLength<-",
#export(rootEdge)  # no methods defined yet?
exportMethods(tdata, "tdata<-", tipData, "tipData<-", nodeData,
export(getNode, ancestor, children, descendants, siblings, ancestors,
## commented out in source code, probably should be omitted here
## presumably these should remain hidden
##export(.createLabels, .createEdge, .phylo4Data, orderIndex, .genlab,
## For reference, quick & dirty UNIX-y commandline statements to pull
## out methods and functions from package code; use in pkg/R/ dir:
# grep "^ *setReplaceMethod" *.R | sed 's/setReplaceMethod(//' | sed 's/.*:["]\([^,]*\)["].*/\1/' | sort | uniq