useDynLib(crs, .registration = TRUE)
importFrom("grDevices", "extendrange", "topo.colors", "n2mfrow")
importFrom("graphics", "legend", "par", "plot", "lines")
importFrom("utils", "flush.console")
import(stats, boot, quantreg)
export(clsd,
       crs,
       crshat,
       crs_boot_control,
       crs_grid_control,
       crsiv,
       crsivderiv,
       crssigtest,
       frscv,
       frscvNOMAD,
       gsl.bs,
       krscv,
       krscvNOMAD,
       snomadr,
       glp.model.matrix,
       tensor.prod.model.matrix,
       uniquecombs)

S3method(coef, clsd)
S3method(fitted, clsd)
S3method(plot, clsd)
S3method(print, clsd)
S3method(summary, clsd)

S3method(print, sigtest.crs)
S3method(summary, sigtest.crs)

S3method(crs, sigtest)
S3method(crs, formula)
S3method(crs, default)

S3method(crsiv, default)
S3method(crsivderiv, default)

S3method(print, crscv)
S3method(summary, crscv)

S3method(print, crs)
S3method(summary, crs)
S3method(predict, crs)
S3method(plot, crs)
S3method(print, crshat)
S3method(crshat, crs)

S3method(print, crsiv)
S3method(summary, crsiv)
S3method(plot, crsiv)

S3method(print, crsivderiv)
S3method(summary, crsivderiv)
S3method(plot, crsivderiv)

S3method(gsl.bs, default)
S3method(predict, gsl.bs)

S3method(print, snomadr)
