get_pred_positions: Predator Positions Across All Transects

Description Usage Arguments Value Source Examples

View source: R/generate_preds_and_encs.R

Description

Calculates the position of all predators in terms of distance from shore and distance downstream for all transects

Usage

1
2
3
4
5
6
get_pred_positions(
  transect_length = 1000,
  n_transects = 20,
  lit_zone_size = 5,
  channel_width = 100
)

Arguments

transect_length

length of each transect in meters; default is 1000

n_transects

integer of transects in the model; default is 20

lit_zone_size

the size of the littoral zone (i.e., nearshore area) in meters; default is 5

channel_width

width of the channel in meters; default is 100

Value

a dataframe of x, y positions for all predators

Source

defaults based on Michel et al. 2018. "Non-native fish predator density and molecular-based diet estimates suggest differing effects of predator species on Juvenile Salmon in the San Joaquin River, California"

Examples

1
get_pred_positions(n_transects = 5)

mrguyperson/predpackplus documentation built on Dec. 21, 2021, 10:08 p.m.