sampling {RGeostats}  R Documentation 
Derive a modelbased sampling on a Data set
sampling(db, model, beta = 0, mean = NA, nsize1 = 3, nsize2 = 10, method1 = 1, method2 = 1, ranks1 = NA, ranks2 = NA, verbose = FALSE)
db 
The 
model 
The 
beta 
This parameter corresponds to the percentage of samples (although selected in a preliminary sampling) which must be ignored in order to reduce the number of retained pivots. This will reduce the computational time for a posterior kriging activity. 
mean 
The sampling is performed in (strict) stationary condition (Simple Kriging method). Then the user must provide the theoretical mean. 
nsize1 
Number of exact pivots to be retained in the sampling. 
nsize2 
Number of pivots (driven by ACP) to be retained in the sampling. 
method1 
Selection criterion for selecting the exact pivots (in the iterative selection algorithm):

method2 
Selection criterion for selecting the ACP pivots (in the iterative selection algorithm):

ranks1 
Array of ranks of samples already selected as exact pivots. It may be empty. 
ranks2 
Array of ranks of samples already selected as ACP pivots. It may be empty. 
verbose 
Verbose option 
A list containing:
ranks1: The list of selected active pivots
ranks2: The list of ACP pivots
The ranks are counted starting from 1.