useDynLib(som)

importFrom("grDevices", "rainbow")
importFrom("graphics", "axis", "lines", "plot", "rect", "segments",
           "text")
importFrom("stats", "runif", "prcomp", "sd")
importFrom("utils", "data")

export(
  "filtering",
  "normalize",
  "qerror",
  "som",
  "som.init",
  "som.train",
  "som.update",
  "som.project"
)

S3method(summary, som)
S3method(plot, som)
