importFrom(graphics, arrows, axis, mtext, par, plot, points, polygon)
export(bivrp, plot.bivrp, print.bivrp, is_point_inside, polygon_area, get_newpolygon, get_reduced_bag)

## Import image.plot function from fields package

importFrom("stats", "dchisq", "mad", "mahalanobis", "pchisq")

export(init_grid) ## user-level in Infusion...
importFrom("graphics", "abline", "axis", "contour", "filled.contour", "lines", "par", "plot", "points", "text", "title")
importFrom("grDevices", "dev.cur", "dev.list", "dev.new", "dev.off", "dev.set", "graphics.off", "gray", "postscript", "rainbow")
importFrom("stats", "as.formula", "constrOptim", "cov", "dnorm", "median", "na.omit", "nlminb", "optim", "optimize", "pchisq", "pnorm", "predict", "qchisq", "qnorm", "runif", "uniroot")
importFrom(spaMM, HLCor, fixef, spaMM.getOption, ULI, MaternCorr, overcat)
export(spaMM.colors) # bc currently in migraine_ .R scripts written by Migraine

importFrom("grDevices", "dev.cur", "dev.list", "dev.new", "dev.off", "dev.set", "graphics.off", "grey", "postscript", "rainbow")
importFrom(spaMM, HLCor, fixef, spaMM.getOption, generateFileName, ULI, locatePointinvT, MaternCorr, overcat)

importFrom(spaMM, fixef, spaMM.getOption, ULI, MaternCorr, overcat)

importFrom("graphics", "abline", "axis", "contour", "filled.contour", "lines",
"par", "plot", "points", "text", "title", "mtext", "strwidth")
importFrom("stats", "as.formula", "constrOptim", "cov", "dnorm", "median", "na.omit", "nlminb",
"optim", "optimize", "pchisq", "pnorm", "predict", "qchisq", "qnorm", "runif",
importFrom("utils", "alarm", "read.table", "write.table", "memory.size", "object.size",
importFrom(spaMM, "spaMM.colors", "fixef", "spaMM.getOption", "MaternCorr")  ## doc'ed fns
importFrom(spaMM, "niceLabels") ## undoc'ed fns

importFrom(spaMM, "spaMM.colors", "fixef", "spaMM.getOption", "MaternCorr", "spaMM.options", "HLCor", "fitme",
# importFrom(igraph, "clusters", "graph_from_adjacency_matrix") ## not imported package : cf 'private' prune_by_dist() function F I X M E