fields internal            package:fields            R Documentation

_F_i_e_l_d_s _i_n_t_e_r_n_a_l _a_n_d _s_e_c_o_n_d_a_r_y _f_u_n_c_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     Listed below are supporting fucntions for the major methods in
     fields.

_U_s_a_g_e:

     COR (dat) 
      
     D4transform.image (x, inv = FALSE, transpose = FALSE, cut.min = 8) 
      
     FIELDS.version  

     Krig.coef (out, u = NULL, lambda = NULL, yM = NULL) 
     Krig.df.to.lambda (df, D, guess = 1, tol = 1e-05) 
     Krig.discretize (x, m = 64, n = 64, xg = NULL, yg = NULL, grid 
         = NULL,  expand = c(1, 1)) 
     Krig.fdf (llam, info) 
     Krig.fgcv (lam, obj) 
     Krig.fgcv.model (lam, obj) 
     Krig.fgcv.one (lam, obj) 
     Krig.find.gcvmin (info, lambda.grid, gcv, gcv.fun, tol, verbose =FALSE, 
     give.warnings = TRUE)
     Krig.find.REML (info, lambda.grid, llike, llike.fun, tol, verbose = TRUE, 
     give.warnings = FALSE)
     Krig.flplike (lam, obj)
     Krig.fs2hat (lam, obj) 
     Krig.ftrace (lam, D) 
     Krig.parameters (obj, mle.calc=TRUE)
     Krig.replicates (out, verbose = FALSE) 
     Krig.updateY (out, Y, verbose = FALSE) 
     Krig.ynew (out, ynew, verbose = FALSE) 
      

     WD4 (x) 
     WD42d (x) 
     WD42di (x) 
     WD4i (x) 
      
     WQS (x) 
     WQS.T (x) 
     WQS.basis (N, cut.n = 8) 
     WQS2d (x, transpose = FALSE) 
     WQS2di (x, transpose = FALSE) 
     WQSdi (x, transpose = FALSE) 
     WQSi (x) 
     WQSi.T (x) 
     WQS.periodic(x)
     WQS.periodic.T(x)
     WQS.periodic.basis(N, cut.n = 8)
     WQS.periodic.T(x)
     WQS2d.cylinder(x, transpose = FALSE, byX=TRUE)
     WQS2di.cylinder(x, transpose = FALSE, byX=TRUE)
     WQSi.periodic(x)
     WQSi.periodic.T(x)

     bisection.search (x1, x2, f, tol = 1e-07, niter = 25, f.extra = 
             NA, upcross.level = 0) 
      
     bplot.obj (data, pos = NA, width = NULL, labels = NULL, las=NULL
                 ,add = FALSE, space = 0.25, sort.names = FALSE, xlab = "", ylab = "", 
                   label.cex = 1, xaxt = "n", outlier = TRUE, horizontal = FALSE, ...) 
      
     cat.matrix (mat, digits = 8) 
      
     cat.to.list (x, a) 
      
     ceiling2 (m) 
      
     conjugate.gradient (b, multAx, start = NULL, tol = 1e-05, kmax = 
                  25, verbose = TRUE,    ...) 
      
     describe (x) 
     describe.bplot (temp, style = "tukey", outlier = TRUE) 

     double.exp(x)

     dyadic.2check( m,n,cut.p=2)
     dyadic.check( n,cut.p=2) 

     draw.bplot (temp, width, xpos, outlier = TRUE, style = "tukey") 
     draw.bplot.obj (obj, width, xpos, outlier = TRUE, horizontal = FALSE) 
      
     exp.earth.cov (x1, x2, theta = 1) 
      
     fast.1way (lev, y, w = rep(1, length(y))) 
      
     find.upcross (fun, fun.info, upcross.level = 0, guess = 1, tol = 
     1e-05) 
      
     gauss.cov (...) 

     gcv.sreg (out, lambda.grid = NA, cost = 1, nstep.cv = 20, rmse = 
          NA, offset = 0, trmin = NA, trmax = NA, verbose = TRUE, tol = 1e-05, 
          find.min = TRUE, method = "GCV") 
      
     golden.section.search (ax, bx, cx, f, niter = 25, f.extra = NA, 
          tol = 1e-05) 
      
     grey.level (n) 
      
     image.plot.info (...) 
     image.plot.plt(x, add=FALSE,  legend.shrink = 0.9, legend.width = 0.04, 
     horizontal = FALSE, offset = 2 * legend.width, bigplot = NULL, smallplot = 
     NULL,...)

     image.smooth.setup (x,nrow = 64, ncol = 64, dx = 1, dy = 1, 
          kernel.function = double.exp, 
          theta = 1, Mwidth = nrow, Nwidth = ncol, ...) 
      
     in.poly (xd, xp, convex.hull = FALSE, inflation=1e-7) 
      
     krig.image.parameters (out) 
      
     lonlat2xy (lnlt, miles = FALSE) 
      
     make.surface.grid (grid.list, X, nx = 30, ny = 30, 
           info.list = FALSE, FUN = median) 
     make.tmatrix (x, m = 2) 
     make.tmatrix.F (x, m = 2) 
     make.tmatrix.S (x, m = 2) 
      
     matern (t , scale = 1, range = 1,alpha=1/range,
                     smoothness = 0.5, nu= smoothness, phi=scale)  

     minimax.crit (obj, des = TRUE, R) 
      
     periodic.cov.1d (x1, x2, a, b) 
     periodic.cov.cyl (x1, x2, a = 0, b = 365, theta = 1) 
     periodic.plane.3d (x1, x2, a = 0, b = 365, theta = 1) 
      
     plot.krig.image (x, main = NA, digits = 4, which = rep(TRUE, 4), 
           graphics.reset = TRUE, ...) 
     plot.qsreg (x, pch = "*", main = NA,...) 
     plot.sim.krig.image (x,...) 
     plot.spatial.design (x,...) 
     plot.vgram.matrix (x, ...)
      
     predict.interp.surface (object, loc,...) 
     predict.krig.image (object, x, ...) 
     predict.qsreg (object, x, derivative = 0, model = object$ind.cv.ps,...)
     predict.sreg (object, x, derivative = 0, model = 1,...) 
      
     print.krig.image(x,...) 
     print.qsreg (x, ...) 
     print.spatial.design (x,...) 
     print.sreg (x, ...) 
     print.summary.Krig (x, ...) 
     print.summary.krig.image (x, ...) 
     print.summary.spatial.design (x, digits = 4,...) 
     print.summary.sreg (x, ...) 
      
     qr.q2ty (qr, y) 
      
     qr.yq2 (qr, y) 
      
     qsreg.fit (x, y, lam, maxit = 50, maxit.cv = 10, tol = 1e-04, 
         offset = 0, sc = sqrt(var(y)) * 1e-07, alpha = 0.5, wt = rep(1, 
         length(x)), cost = 1)
     qsreg.psi ( r,alpha=.5,C=1) 
     qsreg.rho ( r,alpha=.5,C=1)
     qsreg.trace (x, y, lam, maxit = 50, maxit.cv = 10, tol = 1e-04, 
         offset = 0, sc = sqrt(var(y)) * 1e-07, alpha = 0.5, 
         wt = rep(1, length(x)), cost = 1) 

     rad.cov (x1, x2, p = 1, with.log = TRUE, with.constant = TRUE, C =NULL) 
     rad.cov.F (x1, x2, p = 1, with.log = TRUE, with.constant = TRUE, C = NULL) 
     rad.cov.S (x1, x2, p = 1, with.log = TRUE, with.constant = TRUE) 
     rad.covC (x1, x2, C, p = 1, with.log = TRUE, with.constant = TRUE) 
     rad.image.cov (ind1, ind2, Y, cov.obj = NULL, setup = FALSE, grid,...) 
     radbas.constant (m, d) 
      
     rdist.F (x1, x2) 
     rdist.S (x1, x2, lon.lat = FALSE) 
      
     replace.args.function (fun, ...) 
      
     sim.krig.image (out, nreps = 10) 
      
     sreg.df.to.lambda (df, x, wt, guess = 1, tol = 1e-05) 
     sreg.fdf (h, info) 
     sreg.fgcv (lam, obj) 
     sreg.fgcv.model (lam, obj) 
     sreg.fgcv.one (lam, obj) 
     sreg.fit (lam, info) 
     sreg.fs2hat (lam, obj) 
     sreg.trace (h, info) 

     stats.bplot (x, by, style = "tukey", outlier = TRUE) 
     stats.sim.krig.image (obj) 
      
     summary.gcv.Krig (object, lambda, cost = 1, verbose = FALSE, offset = 
         0, y = NULL,...) 
     summary.gcv.sreg (object, lambda, cost = 1, nstep.cv = 20, offset = 
         0, verbose = TRUE,...) 
     summary.krig.image (object, digits = 4, ...) 
     summary.qsreg (object, ...) 
     summary.spatial.design (object, digits = 4, ...) 
     summary.sreg (object, digits = 4, ...) 

     surface(obj , ...) 
     surface.default (obj, ...) 
     surface.krig.image (obj, grid.list = NA, extrap = TRUE, 
           graphics.reset = FALSE, xlab = NULL, ylab = NULL, main = NULL,
           zlab = NULL,zlim = NULL,levels = NULL, ptype = "I", ...) 
      
     surface.surface (obj, ...)
      
     test.data  

     test.data2

     unscale (x, x.center, x.scale) 
      
     variogram.matrix (dat, R = 5, dx) 
      
     world.dat 

