samp: Population samples

Description Usage Arguments Value

View source: R/samp.R

Description

Sample from an eflowsim simulated population time series

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
samp(
  s.dat,
  extent = 10,
  nsites = NULL,
  sitelength.min = 100,
  sitelength.max = 100,
  npass.min = 3,
  npass.max = 3,
  sigmaprop = 1,
  sigmap = 1,
  b0p = 0,
  b1p = 0,
  b2p = 0,
  b3p = 0,
  b4p = 0,
  delta = 0
)

Arguments

s.dat

list. Simulated population. (see ?eflowsim::sim)

extent

numeric. Spatial extent of stream network (km).

nsites

numeric. Number of sample sites.

sitelength.min

numeric. Minimum length of a sample site (m).

sitelength.max

numeric. Maximum length of a sample site (m).

npass.min

numeric. Minimum number of removal sampling passes.

npass.max

numeric. Maximum number of removal sampling passes.

sigmaprop

numeric. Standard deviation in proportion of total population extent sampled.

sigmap

numeric. Standard deviation in first-pass detection probabilities.

b0p

numeric. Regression intercept for first-pass detection probabilities.

b1p

numeric. Effect of covariate 1 on first-pass detection probabilities.

b2p

numeric. Effect of covariate 2 on first-pass detection probabilities.

b3p

numeric. Effect of covariate 3 on first-pass detection probabilities.

b4p

numeric. Effect of covariate 4 on first-pass detection probabilities.

delta

numeric. Exponential rate of decline in sampling probabilities in each subsequent pass.

Value

list.


doug-leasure/eflowsim documentation built on Dec. 20, 2021, 1:10 a.m.