- Fixed all bugs related to
withr::local_par
.
- Removed dependency on
relax
andtcltk
. catchCurveSim()
: Modified. Usedwithr::local_par
to handlepar()
changes.cohortCurveSim()
: Modified. Usedwithr::local_par
to handlepar()
changes.growthModelSim()
: Modified. Usedwithr::local_par
to handlepar()
changes.lengthWeightSim()
: Modified. Usedwithr::local_par
to handlepar()
changes.lelsieSim()
: Modified. Usedwithr::local_par
to handlepar()
changes.mrClosed1Sim()
: Modified. Usedwithr::local_par
to handlepar()
changes.simAgeBias()
: Modified. Usedwithr::local_par
to handlepar()
changes.simLenSelect()
: Modified. Usedwithr::local_par
to handlepar()
changes.srCobWeb()
: Modified. Changed howpar()
was handled.srSim()
: Modified. Replaced dependency onrelax
withmanipulate
. Removedformula
anddata
arguments and, thus, the functionality to plot with data as this was used to find reasonable starting values for the model fitting which is better accomplished withsrStartsDP()
. Usedwithr::local_par
to handlepar()
changes.srStartsDP()
: Modified. Replaced dependency onrelax
withmanipulate
.vbComp()
: Modified. Changed howpar()
was handled.vbStartsDP()
: Modified. Replaced dependency onrelax
withmanipulate
. Usedwithr::local_par
to handlepar()
changes.
- Added
::
to functions in many functions. .onAttach()
: Removed.mrClosed1Sim()
: Modified. Fixed bug in plot when an infinite population was estimated. Tried to streamline code some (did not seem to make faster).sample4ALK()
: Modified. Fixed misuse ofdf
where should have beendata
.simLenSelectP()
: Modified. Changed plot withshow=TRUE
and actual probabilities so that they actually represent the beta distribution over the range of values. Removed an unnecessary catch formax.height=
. Minor spelling corrections.srStartsDP()
: Added fromFSA
.vbDataGen()
: Modified. Changed ouput variableageFrac
toageFracG
and addedageFracY
. Fixed a bug related to repeating the lengths-at-capture (appeared only when the sampling season was the whole year and a fish happened to be sampled on the first day). Streamlined some code and updated the documentation.vbStartsDP()
: Added fromFSA
. Fixed a bug related to call tovbStarts()
and howtype=
worked withvbStarts()
(thanks to Jake Lowe for pointing this out).
- Compiling under R 3.2.3 and using roxygen2 5.0.1
- DESCRIPTION: Updated.
- Added Imports for
manipulate
,relax
,graphics
, andstats
. Added Suggests fortcltk
(ultimately want to get rid of this andrelax
). catchCurveSim()
: Modified. Major overhaul including changing to usemanipulate
rather thanrelax
, removedZsteady=
andNoSteady=
in favor of a checkbox (but must be the same for both Z and No), removedZDeltaAge=
andNoDeltaAge=
in favor of onedeltaAge=
to be used for both Z and No. Moved legend to bottomleft. Changed lines such that including randomness in Z or No is considered an assumption violation.cohortSim()
: Modified. Changed to usemanipulate
rather thanrelax
.growthModelSim()
: Modified. Changed to usemanipulate
rather thanrelax
. Removed the ability to plot actual data (seevbStarts
) for this functionality. Changed parameter limits for most models. Fixed links to functions inFSA
that had changed names.lengthWeightSim()
: Modified. Changed to usemanipulate
rather thanrelax
.leslieSim()
: Modified. Major overhaul including changing to usemanipulate
rather thanrelax
, movedremovals
to an argument rather than a slider bar, chagnedtype=
tosim=
, and dramatically changed the plot forsim="montecarlo"
.lwModelSim()
: Deleted. Same aslengthWeightSim()
.mrClosed1Sim()
: Modified. Changed to usemanipulate
rather thanrelax
. Removed thetype=
argument and put it as a dynamic choice. Added thesim=
argument which allows simulations of thedistribution
or for assessingassumptions
violations. Changed look of the histogram (more likehist()
fromFSA
). Force more bins in the histogram. Modified the legend look. Changed default number ofrsmpls=
. Streamlined code some.vbComp()
: Modified. Reorganized code and deleted bad fishR links in documentation.vbDataGen()
: Modified. Removed bad link togReshape()
inFSA
, which no longer exists.
- DESCRIPTION: Updated.
- Added importFrom for
tidyr
(forspread()
invbDataGen()
). growthModelSim()
: Modified. Changed links toFSA
in the help file.vbDataGen()
: A complete rebuild. See help file.
growthModelSim()
: Added.leslieSim()
: Modified. Updated for changes todepletion()
inFSA
.simAgeBias()
: Modified. Updated for changes toageBias()
inFSA
.srSim()
: Added. Still needs work to add functionality for "Shepherd" and "SailaLorda" methods.
- Compiling under R 3.1.0, using roxygen2 4.0.0, and using github as a repository.
catchCurveSim()
: Added.cohortSim()
: Added.lengthWeightSim()
: Added.leslieSim()
: Added.lwModelSim()
: Added.sample4ALK()
: Added.simAgeBias()
: Added.simAges()
: Added.simLenFromAge()
: Added.simLenSelect()
: Added.mrClosed1Sim()
: Added.srCobWeb()
: Added.vbComp()
: Added.VBGMlit
: Added.vbDataGen()
: Added.