declustering {RGeostats}  R Documentation 
Calculating the Declustering Weights
declustering(db, method = 1, radius = NA, model = NA, neigh = NA, dbgrid = NA, ndisc = NA, flag.sel=method!=1, verbose=FALSE, radix = "Decluster", modify.target = db.locmod())
db 
The 
method 
This argument defines the method used for calculating the declustering weights:

radius 
A numeric vector containing the radii of the search ellipse. The length of this vector should be equal to the space dimension. If a single value is provided, it is considered as the radius of a search sphere. If 'radius' is missing, the radii of the defaulted ellipsoid are calculated as 1/5 of the field extension. 
model 
The 
neigh 
The 
dbgrid 
The 
ndisc 
A numeric vector containing the discretization count along each direction of the space. This parameter is used for the calculation of the declustering weights using 'method' = 3. If 'ndisc'is not provided, this value is set to 3 in each space direction. 
flag.sel 
Create a selection masking off the samples whose declustered weight is 0. In case 'method' is set to 1, this selection is not created (by default) as no weight can be set to 0. 
verbose 
TRUE for a verbose output (statistics on the calculated weights). 
radix 
Radix of the name given to the variables storing the declustering weights in the target Db. 
modify.target 
Decides whether or not the newly created variable will have its
locator defined or not. For more information, see 
The input Db where one variable has been added which contains the declustering weights. This variable is set to the locator "w" for future usage.