export("som","xyf", "supersom", "expandMap", "somgrid",
       "classvec2classmat", "classmat2classvec",
       "map", "add.cluster.boundaries", 
       "object.distances", "unit.distances",
       "getCodes", "check.whatmap", "tricolor")

S3method(print, kohonen)
S3method(plot, kohonen)
S3method(predict, kohonen)
S3method(summary, kohonen)
S3method(identify, kohonen)
S3method(map, kohonen)

useDynLib(kohonen, .registration = TRUE)

# Import all packages listed as Imports or Depends
importFrom(MASS, eqscplot)

# Import from default packages
importFrom("graphics", "abline", "axTicks", "axis", "identify", "polygon",
           "legend", "lines", "matplot", "par", "plot", "points",
           "rect", "segments", "stars", "symbols", "text", "title") 
importFrom("grDevices", "heat.colors", "terrain.colors")
importFrom("stats", "aggregate", "dist", "quantile", "rnorm", "median")
importFrom(Rcpp, evalCpp, sourceCpp)
