search_topology: search_topology

Description Usage Arguments Value

View source: R/mod.R

Description

search_topology

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
search_topology(
  so,
  x_range,
  y_range,
  rec = 0,
  bt = 10,
  it = 20,
  n = 10000,
  test = "ks",
  by = "vol",
  grid = 100,
  d_scl = 1,
  w_scl = 3,
  linked = FALSE,
  backfill = TRUE
)

Arguments

so

is a spatial object (creek nodes)

x_range

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

y_range

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

rec

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

bt

is the number of times to simulate accumulation over 'so'

it

is the number of times to simulate accumulation per node of 'so'

n

is the number of years to accumulate deposits

test

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

by

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

grid

is the number of intervals to divide x and y ranges into

d_scl

is the scale value for weight_grid()

w_scl

is the scale value for weight_array()

Value

a record of test value results at randomly generated coords in 'x_range' and 'y_range'


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