weight_grid: weight_grid

Description Usage Arguments Value

View source: R/mod.R

Description

Returns topology of coordinate on grid given record of test values. Types for 'test': Kolmogorov-Smirnov statistic = 'ks' Kuiper statistic = 'kp' 'xy_grid' determines the size of the outgoing topology array. Types for 'by': Unit cross-sectional area in m2 = 'vol' Average cross-sectional depth per node = 'lvl' 'scl' ranges [0,1] and deflates the effects of neighbors on each other.

Usage

1
weight_grid(pos, xy_grid, rec, test, by, scl = 1)

Arguments

pos

is the coordinate pair of data in the record

xy_grid

is the topology array to replace

rec

is the record of test values

test

is a string naming the test type c('ks', 'kp)

by

is a string naming the test varaible c('vol', 'lvl')

scl

is a scaling parameter, a float

Value

the estimated test value at 'pos'


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.