calculate_weights: Calculate weights for variogram for simulated annealing...

View source: R/geostats.R

calculate_weightsR Documentation

Calculate weights for variogram for simulated annealing Ported from Emery at al. 2009 Added log methods to soften later portion of curve

Description

Calculate weights for variogram for simulated annealing Ported from Emery at al. 2009 Added log methods to soften later portion of curve

Usage

calculate_weights(weighting_method, gam)

Arguments

weighting_method

0:constant weight, 1: ~npairs, 2:~/distance 3: ~npairs/distance, 4: log(~npairs), 5:~/log(distance) 6: ~log(npairs)/log(distance)

gam

the variogram/correlogram

Value

vector of weights, equal to nrows of variogram


ScottHMcKean/duvernay_geomech_model documentation built on Sept. 12, 2022, 10:08 a.m.