Description Usage Arguments Value
usgsimR
is an interface to the CCG simulation program usgsim
,
which uses SGS. Some functionality of the Fortran program is not implimented
in this interface:
- Weight field.
- Rock types.
- Seconday variables.
- Normal-score transformation reference distributions.
- Trend data.
- Only writes output format 0: regular.
1 2 3 4 5 6 7 8 | usgsimR(data, mvario, vars, corr, xyz = c("x", "y"), n_realz = 1,
seed = 60221409, grid_def = c(n_x = 50, n_y = 50, n_z = 1, min_x =
0.5, min_y = 0.5, min_z = 0.5, dim_x = 1, dim_y = 1, dim_z = 1),
simout = "sgsim", imputeout = "impute", debuglevel = 0,
n_prev = 12, srchdist = c(10, 10, 10), srchang = c(0, 0, 0),
sortmethod = 0, covarsort = c(1, 1, 1), clip = TRUE, assign = 1,
trans = TRUE, nquant = 200, krigmethod = 2, altflag = 0,
cosim = TRUE, domgrid = NULL)
|
data |
Data frame containing coordinates and variables to condition the simulations. |
mvario |
Variogram model data frame or list of models as |
vars |
Character vector of column names to be simulated. |
corr |
Correalation matrix (from |
xyz |
Character vector of coordinate column names. |
n_realz |
Scalar integer number of simulation realizations. |
seed |
Scalar integer seed for renadom number generation. |
grid_def |
Named numeric vector with x, y, and z-axis grid definition: n_x, n_y, n_z, min_x, min_y, min_z, dim_x, dim_y, dim_z, realz. |
simout |
Name of GeoEase grid file to contain output simulations. |
imputeout |
Name of file to contain imputed data in heterotopic case. |
debuglevel |
Scalar integer either 0 (none) or 1, 2, or 3 for increasing levels of reporting. |
n_prev |
Scalar integer number of previously simulated nodes to use. |
srchdist |
Numeric vector search readii: x, y, z. |
srchang |
Numeric vector search angles: ang1, ang2, ang3. |
sortmethod |
Scalar numeric: sort by distance (0) or covariance (1). |
covarsort |
Numeric vector: if sorting by covariance, indicate variogram rock type, head, tail to use. |
clip |
Scalar boolean: clip data to grid. |
assign |
Scalar integer: assign to the grid, 0=none, 1=nearest, and 2=average. |
trans |
Scalar boolean: perform normal score transormation of input samples and backtransofrmation of simulation. |
nquant |
Scalar integer: number of quantiles to keep from transform. |
krigmethod |
Scalar integer: kriging method: 1=independent, 2=CCK, 4=CK, 5=ICCK, 6=BU. |
altflag |
Scalar integer: option for primary variables if BU; or for secondary variables if CK. |
cosim |
Scalar boolean: perform cosimulation of multiple variables. |
domgrid |
Data frame containing x, y, and, optionally z coordinate
columns that define the domain grid and a domain or zone field(s). Output
data will be contain domain code for those coorindate points. Coordinate
columns must be the same as |
Data frame of simulation results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.