build_vario_par_list: Build a Variogram Calculation Parameter List from Stored...

Description Usage Arguments Value Examples

Description

Build a Variogram Calculation Parameter List from Stored Parameters

Usage

1
build_vario_par_list(data, domain, var, ndims)

Arguments

data

Data frame of stored parameters (see example for strict structure of the data frame).

domain

Scalar numeric or character (matched to type in data) domain, category, or zone code.

var

Scalar character variable name for variogram.

ndims

Scalar numeric 1–3: number of variogram dimensions (axes) with 1 being major; 2 semi-major; and 3 minor.

Value

A list of axis variogram parameters suitable for input into variogram calculation function varcalcR.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
vario_calc <- tibble::tribble(
~domain, ~vars, ~axis, ~azm, ~azmtol, ~bndhorz, ~dip, ~diptol, ~bndvert,
~tilt, ~nlags, ~dlag, ~lagtol,
38, "NS_thk", 1, 90, 45, 1.0e21, 0, 90, 1.0e21, 0, 15, 10, 0.5,
38, "NS_thk", 2, 180, 45, 1.0e21, 0, 90, 1.0e21, 0, 10, 10, 0.5,
38, "NS_accum", 1, 90, 45, 1.0e21, 0, 90, 1.0e21, 0, 15, 10, 0.5,
38, "NS_accum", 2, 180, 45, 1.0e21, 0, 90, 1.0e21, 0, 10, 10, 0.5,
38, "NS_thkaccum", 1, 90, 45, 1.0e21, 0, 90, 1.0e21, 0, 15, 10, 0.5,
38, "NS_thkaccum", 2, 180, 45, 1.0e21, 0, 90, 1.0e21, 0, 10, 10, 0.5
)
build_vario_par_list(vario_calc, 38, "NS_accum", 2)

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