DWEFreport | R Documentation |
Generate Estimates of larval sea lamprey abundance from the deepwater electofishing data.
DWEFreport( Dir, CatchClean, LengthsClean, Plots, CatHist, LenHist, PlotHist, PEHist, Downstream, Errors, Outfiles, yrz.f = "2002, 2003, 2008, 2012, 2017, and 2022", mu.f = 0.560772823, sigma.f = 0.492926007, StratArea = SMRStratArea, bkill = 0.75 )
Dir |
A character scalar identifying the path where output files will be
stored. Use forward slashes, e.g., |
CatchClean |
A data frame with the cleaned catch data, typically the |
LengthsClean |
A data frame with the cleaned lengths data, including information from
larvae only (no metamorphosing juveniles), typically the |
Plots |
A data frame with the plot data, typically the |
CatHist |
A data frame with the historic catch data, typically the |
LenHist |
A data frame with the historic lengths data, typically the |
PlotHist |
A data frame with the historic plot-specific estimates, typically
the |
PEHist |
A data frame with the historic whole river population estimates, typically
the |
Downstream |
Logical scalar indicating whether the downstream portion of the St. Marys River was surveyed (TRUE) or if just the upstream portion of the river was surveyed (FALSE). |
Errors |
A character vector of table numbers corresponding to the document
produced by |
Outfiles |
A character vector of length seven with names for the new catch, lengths, and plot output csv files, and the updated catch, lengths, plot, and whole river population output csv files. Note that updates to the whole river population files assume post-treatment sampling only, other situations will yield missing values for estimates. |
yrz.f |
A character scalar listing the years on which the parameters |
mu.f |
A numeric scalar representing the upper-to-whole river expansion factor based on the average ratio of mean larval densities from the whole river to the upper river from all the years that the lower St. Marys River was sampled. |
sigma.f |
A numeric scalar representing the upper-to-whole river expansion factor based on the average ratio of the standard deviation of the larval densities from the whole river to the upper river from all the years that the lower St. Marys River was sampled. |
StratArea |
Data frame with three variables: |
bkill |
Numeric scalar indicating the assumed effectiveness of Bayluscide in treated plots, expressed as the proportion of larval sea lampreys killed, default 0.75. |
It is assumed that this function will be run immediately after the
DWEFerror
function, in which case the rtf file created by
DWEFerror
will be continued and completed by
DWEFreport
.
Six csv files are written to Dir
, with the final catch, lengths,
and plot data for the latest year as well as the updated historic catch,
lengths, and PE files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.