ConductMultipleSurveys: Conduct multiple simulations of a bus-route survey

Description Usage Arguments Details Author(s) See Also Examples

Description

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.

Usage

1

Arguments

nsims

The number of simulations to be conducted in the simulation of interest.

...

Arguments to be passed to other subfunctions

Details

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.

Author(s)

Steven Ranney

See Also

MakeAnglers GetTotalValues SimulateBusRoute

Examples

 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)

stevenranney/creelSurvey documentation built on May 30, 2019, 4:46 p.m.