kt3dnR: Interface to 'kt3dn' 3D Kriging Program.

Description Usage Arguments Details Value

Description

Anomalies compared with raw program:

Usage

1
2
3
4
5
6
kt3dnR(grid_def, samples, vars, bhid = NULL, xyz = c("x", "y", "z"),
  keygrid = NULL, keyval = 0, n_dataspac = 4, l_dataspac = 6,
  idbg = 0, ndis = c(3, 3, 1), minmax = c(16, 30), noct = 2,
  ndhmax = 0, srchdist = c(10, 10, 10), srchang = c(0, 0, 0),
  ktype = 1, skmean = 0, corr = 0, zvar = 0, mvario = NULL,
  idw = TRUE, debug = FALSE)

Arguments

grid_def

Standard grid definition, which is a named numeric vector with elements (in order): n_x, n_y, n_z, min_x, min_y, min_z, dim_x, dim_y, dim_z, realz (realz is not used). This will be the grid that values are estimated into.

samples

Data frame of sample data.

vars

Character vector (length 1–2) of variables in samples to be estimated. First is primary, second is secondary.

bhid

Scalar character name of hole id column in samples. Only needed if ndhmax is > 0.

xyz

Charcater vector of coordinate column names in samples.

keygrid

A data frame grid with columns x, y, and z and a fourth column containing a flag for nodes to be estimated (flag value defined in argument keyvalue). This grid must have the same definition as that defined in argument grid_def. The full extend of this grid definition must be populated.

keyval

Scalar integer key value in keygrid that indicates nodes to be estiimated. Must be in column 4 after the three coordinate columns.

n_dataspac

Scalar integer number fo drillhole neighbours for estimation of 2D drillhole spacing.

l_dataspac

Scalar numeric composite length to use when estimating drillhole spacing in 3D data.

idbg

Scalar integer debug level: 0 none; or 3, 5, 10.

ndis

Integer vecots with number of discretization points in x, y and z. Use all 1s for point kriging.

minmax

Integer vector with minimum and maximum number of samples in the search neighbourhood.

noct

Scalar integer minimum samples for each octant. Use zero for no octants.

ndhmax

Scalar integer maximum samples per drillhole. Use zero for deactivate. If > 0 must specify bhid column name. Only useful for 3D kriging.

srchdist

Numeric vecotor of search radii in rotated x, y, and z.

srchang

Numeric vector of search oriention, azimuth, dip, and tilt.

ktype

Scalar integer kriging type: 0=SK, 1=OK, 2=LVM(resid), 3=LVM((1-w)*m(u))) ,4=colo, 5=exdrift, 6=ICCK.

skmean

Scalar numeric global mean grade for ktype 0, 4, 5, 6.

corr

Scalar numeric correlation for ktype 4 or 6.

zvar

Scalar numeric variance reduction factor for ktype 4.

mvario

Variogram model data frame or list of models as gstat class "variogramModel" or "variogramModelList".

idw

Boolean scalar do inverse distance weighting instead of kriging.

debug

Boolean scalar, if TRUE don't delete system files.

Details

Value

Data frame grid with estimated variable.


truemoid/rgslib documentation built on May 30, 2019, 2:14 p.m.