Description Usage Arguments Value Source Examples
View source: R/generate_preds_and_encs.R
Calculates the position of all predators in terms of distance from shore and distance downstream for all transects
1 2 3 4 5 6 | get_pred_positions(
transect_length = 1000,
n_transects = 20,
lit_zone_size = 5,
channel_width = 100
)
|
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 |
a dataframe of x, y positions for all predators
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"
1 | get_pred_positions(n_transects = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.