Description Usage Arguments Details Author(s) See Also Examples
This function uses MakeAnglers and GetTotalValues
to conduct multiple bus-route or traditional access point creel surveys (from
the number provided to the nsims argument) of a population of anglers.
1 | ConductMultipleSurveys(nsims, ...)
|
nsims |
The number of simulations to be conducted in the simulation of interest. |
... |
Arguments to be passed to other subfunctions |
Because this function is merely a wrapper for the SimulateBusRoute
code, the user still needs to set startTime, waitTime,
nanglers, nsites, and samplingProb as objects. These
can be passed through the ... argument or through setting waitTime
and others outside of the function call itself.
Steven Ranney
MakeAnglers
GetTotalValues
SimulateBusRoute
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #These objects are not used directly in the ConductMultipleSurveys() function
# but will be used in the SimulateBusRoute() function
startTime <- c(1, 2,3,4,5)
waitTime <- c(.5, .5, .5, .5, 2)
nanglers <- c(10,10,10,10,50)
nsites <- 5
samplingProb <- .5
meanCatchRate <- 3
nsims <- 100
tmp <- ConductMultipleSurveys(100, startTime = startTime, waitTime = waitTime,
nanglers = nanglers, nsite = nsites,
samplingProb = samplingProb, meanCatchRate = meanCatchRate)
#To change fishingDayLength used in the MakeAnglers function
ConductMultipleSurveys(nsims, startTime, waitTime, nanglers, nsites, samplingProb,
meanCatchRate, fishingDayLength = 9.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.