# Import non-base functions from standard packages

# Generated by roxygen2: do not edit by hand
exportPattern("^[[:alpha:]]+") # this exports all functions that start with an alphanumeric charachter so that every function in the package is visible (otherwise need to manually add exports to NAMESPACE)
if (.Platform$OS.type=="windows") importFrom(utils,shortPathName)

importClassesFrom(sp, SpatialPolygons, SpatialPoints, SpatialPolygonsDataFrame, SpatialPointsDataFrame)

importFrom(sp, bbox, point.in.polygon, SpatialPoints, SpatialPointsDataFrame, SpatialPolygons, SpatialPolygonsDataFrame)

importFrom("gmp", "as.bigz", "as.bigq","pow.bigq", "is.bigz", "numerator" , "denominator")

importFrom("graphics", "abline", "hist", "legend", "plot", "points")
importFrom("stats", "as.formula", "coef", "dpois", "glm", "lm","model.frame", "model.matrix", "na.pass", "nlminb","poisson", "rgamma", "rpois","runif","var")

# Generic functions formula, coef, and vcov are defined in stats package
# I have to define and export the contrast generic function because Design
# doesn't have a namespace, so I can't import Design's definition of it.

importFrom("stats", "coef", "delete.response", "lm", "model.matrix", "model.response", "pchisq", "printCoefmat", "pt", "qnorm", "quantile", "terms", "update", "vcov")

export(h, H, srLSE, convexLSE, convexMLE, srMLE)

useDynLib(coop, R_co_mat, R_co_vecvec, R_co_sparse, R_sparsity_int, R_sparsity_dbl)

useDynLib(coop, R_co_mat, R_co_vecvec, R_co_sparse, R_sparsity_int, R_sparsity_dbl, R_csc_to_coo, R_fast_naomit, R_naomit_vecvec)

useDynLib(coop, R_co_mat, R_co_mat_pairwise, R_co_vecvec, R_co_sparse, R_sparsity_int, R_sparsity_dbl, R_csc_to_coo, R_fast_naomit, R_naomit_vecvec, R_scaler, R_check_badvals)

importFrom("graphics", "abline", "contour", "lines", "plot", "points")
importFrom("stats", "approx", "complete.cases", "cor", "dnorm",
"integrate", "median", "qnorm", "quantile", "runif",
"uniroot", "optim", "pnorm", "pt", "qt", "sd")

importFrom("graphics", "abline", "contour", "lines", "plot", "points", "mtext")
"integrate", "median", "qnorm", "quantile", "runif", "var",
"uniroot", "optimise", "optim", "pnorm", "pt", "qt", "sd",