update_search_array: update_search_array

Description Usage Arguments Value

View source: R/mod.R

Description

Returns preference topology given a record of test values. Types for 'test': Kolmogorov-Smirnov statistic = 'ks' Kuiper statistic = 'kp' Types for 'by': Unit cross-sectional area in m2 = 'vol' Average cross-sectional depth per node = 'lvl'

Usage

1
update_search_array(rec, xs, ys, ar, test, by, d_scl = 1, w_scl = 0.9)

Arguments

rec

is a data.frame of test values with cols c(x, y, ks, kp)

xs

is a vector of values for the x-axis of topology array

ys

is a vector of values for the y-axis of topology array

ar

is a preference topology to update

test

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

by

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

d_scl

is the scale value for weight_grid()

w_scl

is the scale value for weight_array()

Value

a preference topology array


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