import( graphics, parallel, snowfall, sp, stats, utils )

importFrom( abind, abind )
importFrom( constrainedKriging, covmodel, f.point.block.cov, K, preCKrige )
importFrom( fields, rdist )
importFrom( lmtest, waldtest, waldtest.default )
importFrom( methods, slot)
importFrom( nlme, fixef, fixed.effects, ranef, random.effects )
importFrom( nleqslv, nleqslv )
importFrom( quantreg, rq.fit )
importFrom( robustbase, lmrob.control, lmrob.fit, Qn, robMD, summarizeRobWeights )
# importFrom( nor1mix, norMix, pnorMix, qnorMix, var.norMix )

# exported functions

export(
  bwd.transf,                       # ok
  compress,                         # ok
  condsim,                          # ok
  control.condsim,                  # ok
  control.fit.variogram.model,      # ok
  control.georob,                   # ok
  control.nleqslv,                  # ok
  control.nlminb,                   # ok
  control.optim,                    # ok
  control.pcmp,                     # ok
  control.predict.georob,           # ok
  control.rq,                       # ok
  cv,                               # ok
  default.aniso,                    # ok
  default.fit.aniso,                # ok
  default.fit.param,                # ok
  dfwd.transf,                      # ok
  expand,                           # ok
  fixed.effects,                    # ok export of generic fixed.effects{nlme}
  fixef,                            # ok export of generic fixef{nlme}
  fwd.transf,                       # ok
  fit.variogram.model,              # ok
  gencorr,                          # ok
  georob,                           # ok 
  K,                                # ok export of K{constrainedKriging}, which is (indirectly) needed by f.point.block.cov{constrainedKriging}
  lgnpp,                            # ok
  lmrob.control,                    # ok export of lmrob.control{robustbase}
  param.bounds,                     # ok  
  param.names,                      # ok
  param.transf,                     # ok
  pmm,                              # ok
  profilelogLik,                    # ok
  random.effects,                   # ok export of generic random.effects{nlme}
  ranef,                            # ok export of generic ranef{nlme}
  sample.variogram,                 # ok
  step,                             # ok
  validate.predictions,             # ok
  waldtest                          # ok export of generic waldtest{lmtest}
)

# documented but unexported functions
#
#   add1.georob,                    # ok
#   check.newdata,                  # ok
#   coef.georob,                    # ok
#   cv.georob                       # ok
#   deviance.georob,                # ok
#   drop1.georob,                   # ok
#   drop1.georob,                   # ok
#   extractAIC.georob,              # ok
#   fixed.effects.georob,           # ok
#   fixef.georob,                   # ok
#   lines.fitted.variogram,         # ok
#   lines.georob,                   # ok
#   logLik.georob,                  # ok
#   model.frame.georob,             # ok
#   model.matrix.georob,            # ok
#   nobs.georob,                    # ok
#   plot.cv.georob,                 # ok
#   plot.georob                     # ok
#   plot.sample.variogram,          # ok
#   predict.georob,                 # ok
#   print.coef.georob,              # ok
#   print.cv.georob,                # ok
#   print.fitted.variogram,         # ok
#   print.georob,                   # ok
#   print.summary.cv.georob,        # ok
#   print.summary.fitted.variogram, # ok
#   print.summary.georob,           # ok
#   print.summary.sample.variogram, # ok
#   random.effects.georob,          # ok
#   ranef.georob,                   # ok
#   resid.georob,                   # ok
#   residuals.georob,               # ok
#   rstandard.georob,               # ok
#   step.default,                   # ok
#   step.georob,                    # ok
#   sample.variogram.default,       # ok
#   sample.variogram.formula,       # ok
#   sample.variogram.georob,        # ok
#   summary.cv.georob,              # ok
#   summary.fitted.variogram,       # ok
#   summary.georob,                 # ok
#   summary.sample.variogram,       # ok
#   vcov.georob,                    # ok
#   waldtest.georob,                # ok
  
# non-documented internal functions

## covariances.fixed.random.effects
## crpsnorm
### crpspd.resp.rob                    # currently not used
## estimate.zhat
## estimating.equations.theta
## estimating.equations.z
## f.aux.Qstar
## f.aux.RSS
## f.aux.Valphaxi
## f.aux.add1.drop1
## f.aux.crpsnorm
## f.aux.eeq
## f.aux.gcr
## f.aux.gradient.nll
## f.aux.gradient.npll
## f.aux.print.gradient
## f.aux.tf.param.fwd
## f.call.set_allfitxxx_to_false
## f.call.set_allxxx_to_fitted_values
## f.call.set_onefitxxx_to_value
## f.call.set_onexxx_to_value
## f.call.set_x_to_value
## f.call.set_x_to_value_in_fun
## f.diag
## f.psi.function
## f.reparam.bwd
## f.reparam.fwd
## f.robust.uk
## f.stop.cluster
## georob.fit
## gradient.negative.loglikelihood
## likelihood.calculations
## negative.loglikelihood
## partial.derivatives.variogram
### ppd.resp.rob                       # currently not used
### qpd.resp.rob                       # currently not used
## safe_pchisq
## sim.chol.decomp
## sim.circulant.embedding
## simple.kriging.weights
### var.pd.resp.rob                    # currently not used
## update.zhat


## S3 methods

S3method( add1, georob )
S3method( coef, georob )
S3method( cv, georob )
S3method( deviance, georob  )
S3method( drop1, georob  )
S3method( extractAIC, georob  )
S3method( fixed.effects, georob  )
S3method( fixef, georob  )
## S3method( getCall, georob  )
S3method( lines, fitted.variogram )
S3method( lines, georob )
S3method( logLik, georob )
S3method( model.frame, georob )
S3method( model.matrix, georob )
S3method( nobs, georob )
S3method( plot, cv.georob )
S3method( plot, georob )
S3method( plot, sample.variogram )
S3method( predict, georob )
S3method( print, coef.georob )
S3method( print, cv.georob )
S3method( print, fitted.variogram )
S3method( print, georob )
S3method( print, summary.cv.georob )
S3method( print, summary.fitted.variogram )
S3method( print, summary.georob )
S3method( print, summary.sample.variogram )
S3method( random.effects, georob )
S3method( ranef, georob )
S3method( resid, georob )
S3method( residuals, georob )
S3method( rstandard, georob )
S3method( sample.variogram, default )
S3method( sample.variogram, formula )
S3method( sample.variogram, georob )
S3method( step, default )
S3method( step, georob )
S3method( summary, cv.georob )
S3method( summary, fitted.variogram )
S3method( summary, georob )
S3method( summary, sample.variogram )
S3method( vcov, georob )
S3method( waldtest, georob )

