Description Usage Arguments Author(s) Examples
Perform compositional analyses of smolts at Lower Granite Dam.
1 2 3 4 5 6 | SCRAPI(smoltData = NULL, Dat = "CollectionDate", Rr = "Rear",
Primary = "GenStock", Secondary = NA, passageData = NULL,
strat = "Week", dat = "SampleEndDate", tally = "SampleCount",
samrate = "SampleRate", guidance = "GuidanceEfficiency",
collaps = "Collapse", Run = "output", RTYPE = "W", REARSTRAT = TRUE,
alph = 0.1, B = 5000, dateFormat = "%m/%d/%Y")
|
smoltData |
the .csv file containing the biological data for the smolts to be analyzed. The file should contain data for all smolts
trapped in a given migratory year and for a given 'species' (sthd, ch0, or ch1). The function |
Dat |
speciy the column in |
Rr |
specify the column in |
Primary |
specify the primary category in |
Secondary |
the secondary category in the |
passageData |
the .csv file containg the smolt passage data. The file should contain the sampling date for each day of the season and
for each date the 1) calendar week, 2) sampling rate, 3) count of smolts in the trap, and 4) the juvenile bypass system guidance efficiency. |
strat |
specify the column in |
dat |
specify the column in |
tally |
specify the column in |
samrate |
specify the column in |
guidance |
specify the column in |
collaps |
specify the column in |
Run |
synopsis of the run being conducted. This will be used as the prefix for all of your output files |
RTYPE |
which rear type (wild [H] or hatchery unclipped [HNC]) would you like to perform analysis on |
REARSTRAT |
would you like pWild calculated on a time-stratified basis (TRUE) or across the entire emigration (FALSE) |
alph |
the alpha used for confidence intervals (e.g., |
B |
the desired number of bootstraps |
dateFormat |
What format are the dates in your fish and passage data? The default format used in the LGTrappingDB is 01/01/1900 |
Kirk Steinhorst and Mike Ackerman
1 2 3 4 5 | SCRAPI(smoltData = sthdScrapiInput, Primary = "GenStock", Secondary = "fwAge",
passageData = sthdSmoltPassData, Run = "sthdSmoltTest", RTYPE = "W", alph = 0.1, B = 200)
SCRAPI(smoltData = chnkScrapiInput, Primary = "GenStock", Secondary = "GenSex",
passageData = sthdSmoltPassData, Run = "ch1SmoltTest", RTYPE = "W", alph = 0.1, B = 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.