Ogle, D.H., J.C. Doll, P. Wheeler, and A. Dinno. 2022. FSA: Fisheries Stock Analysis. R package version 0.9.2, https://github.com/droglenc/FSA.
+Ogle, D.H., J.C. Doll, P. Wheeler, and A. Dinno. 2022. FSA: Fisheries Stock Analysis. R package version 0.9.3, https://github.com/fishR-Core-Team/FSA.
@Manual{, title = {FSA: Fisheries Stock Analysis}, author = {Derek H. Ogle and Jason C. Doll and Powell Wheeler and Alexis Dinno}, year = {2022}, - note = {R package version 0.9.2}, - url = {https://github.com/droglenc/FSA}, + note = {R package version 0.9.3}, + url = {https://github.com/fishR-Core-Team/FSA}, }diff --git a/docs/index.html b/docs/index.html index 4e492c29..5d83b0b1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -41,7 +41,7 @@ @@ -94,13 +94,13 @@
if (!require('remotes')) install.packages('remotes'); require('remotes')
-remotes::install_github('droglenc/FSA')
+remotes::install_github('fishR-Core-Team/FSA')
You may need to have R Tools installed on your system to install the development version from GitHub. See the instructions for (R Tools for Windows or R Tools for Mac OS X).
Report questions, comments, or bug reports on the issues page.
+Report questions, comments, or bug reports on the issues page.
We are always looking for others to contribute to FSA. Please feel free to make a pull request via GitHub or to contact the maintainers.
Please adhere to the Code of Conduct.
dplyr
from imports
to suggests
(needed because functions were removed in last version; however it is still used in some examples; partially addresses #87).sciplot
from imports
(because functions were removed in last version; partially addresses #87).ksTest()
to handle issues on the CRAN M1 build machine (per e-mail from Prof. Ripley on 15-Feb-22; partially addresses #87).droglenc
github that were related to FSA
or FSAdata
to be to the fishR-Core-Team
github.filterD()
: REMOVED (to FSAmisc
).fsaNews()
and FSANews()
: Removed.psdAdd()
: Modified. Changed the way PSDlit
was loaded into the function environment so that FSA::psdAdd()
will work. Addresses #85.psdAdd()
: Modified. Changed the way PSDlit
was loaded into the function environment so that FSA::psdAdd()
will work. Addresses #85.
PSDLit
: Modified. Added info for Utah Chub (from here; address #84).PSDLit
: Modified. Added info for Utah Chub (from here; address #84).
psdVal()
: Modified. Changed the way PSDlit
was loaded into the function environment so that FSA::psdVal()
will work. Addresses #85.psdVal()
: Modified. Changed the way PSDlit
was loaded into the function environment so that FSA::psdVal()
will work. Addresses #85.
residPlot()
: REMOVED (to FSAmisc
).wrAdd()
: Modified. Changed the way WSlit
was loaded into the function environment so that FSA::wrAdd()
will work. Addresses #85.wrAdd()
: Modified. Changed the way WSlit
was loaded into the function environment so that FSA::wrAdd()
will work. Addresses #85.
WSLit
: Modified. Added info for Utah Chub (from here; address #84).WSLit
: Modified. Added info for Utah Chub (from here; address #84).
wsVal()
: Modified. Changed the way WSlit
was loaded into the function environment so that FSA::wsVal()
will work. Addresses #85.wsVal()
: Modified. Changed the way WSlit
was loaded into the function environment so that FSA::wsVal()
will work. Addresses #85.
alkPlot()
: Modified. Removed use of chooseColors()
(see below).binCI()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).binCI()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).
bootCase()
: REMOVED. Users can use car::Boot()
, which partially addresses #65.
+bootCase()
: REMOVED. Users can use car::Boot()
, which partially addresses #65.
plot.boot()
: REMOVED. Conflicted with boot::plot.boot()
which caused an error with CRAN. Same functionality is available with pairs(<boot object>$t)
.catchCurve()
: Modified. Removed hard-coding of ylim=
for plot.catchCurve()
(this addresses #70 … Thanks to Brendan Runde). Added round.est=
so that the user can control the decimals on mortality estimate values. Changed to use iCheckConfLevel()
(which addresses #66).catchCurve()
: Modified. Removed hard-coding of ylim=
for plot.catchCurve()
(this addresses #70 … Thanks to Brendan Runde). Added round.est=
so that the user can control the decimals on mortality estimate values. Changed to use iCheckConfLevel()
(which addresses #66).
chapmanRobson()
: Modified. Removed hard-coding of ylim=
for plot.chapmanRobson()
. Added round.est=
so that the user can control the decimals on mortality and survival estimate values. Changed to use iCheckConfLevel()
(which addresses #66).chapmanRobson()
: Modified. Removed hard-coding of ylim=
for plot.chapmanRobson()
. Added round.est=
so that the user can control the decimals on mortality and survival estimate values. Changed to use iCheckConfLevel()
(which addresses #66).
chooseColors()
: REMOVED. This was an exported function that should have been internal. Regardless, where it was used has been removed and the user is now allowed to provide their own vector of colors. See iCheckMultColors()
. Partially addresses #65.chooseColors()
: REMOVED. This was an exported function that should have been internal. Regardless, where it was used has been removed and the user is now allowed to provide their own vector of colors. See iCheckMultColors()
. Partially addresses #65.
compIntercepts()
: REMOVED (to FSAmisc
). Added to FSA-defunct
. Partially addresses #65.compIntercepts()
: REMOVED (to FSAmisc
). Added to FSA-defunct
. Partially addresses #65.
compSlopes()
: REMOVED (to FSAmisc
). Added to FSA-defunct
. Partially addresses #65.compSlopes()
: REMOVED (to FSAmisc
). Added to FSA-defunct
. Partially addresses #65.
depletion()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).depletion()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).
filterD()
: DEPRECATED (partially addresses #65).filterD()
: DEPRECATED (partially addresses #65).
fitPlot()
: DEPRECATED (partially addresses #65). Prior to that removed use of chooseColors()
(see above).fitPlot()
: DEPRECATED (partially addresses #65). Prior to that removed use of chooseColors()
(see above).
diags()
: REMOVED (moved to FSAmisc
). Added to FSA-defunct
. Partially addresses #65.diags()
: REMOVED (moved to FSAmisc
). Added to FSA-defunct
. Partially addresses #65.
hoCoef()
: REMOVED (moved to FSAmisc
). Added to FSA-defunct
. Partially addresses #65.hoCoef()
: REMOVED (moved to FSAmisc
). Added to FSA-defunct
. Partially addresses #65.
hyperCI()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).hyperCI()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).
iCheckConfLevel()
: Added (internal to address #66).iCheckConfLevel()
: Added (internal to address #66).
iCheckMultColors()
: Added (internal). Part of removing chooseColors()
and paletteChoices()
.iRichColors()
: REMOVED (as part of removing chooseColors()
).mapvalues()
: REMOVED. Added to FSA-defunct
. Partially addresses #65.mapvalues()
: REMOVED. Added to FSA-defunct
. Partially addresses #65.
mrClosed()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).mrClosed()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).
mrOpen()
: Modified. Added a warning for when r==0, which causes the SE of M and thus N to be Infinity
(this addresses #69). Added a similar warning for when R==0 (but not the last time period). Added tests for the warning messages. Changed one use of apply()
to rowSums()
for ease of reading. Changed to use iCheckConfLevel()
(which addresses #66).mrOpen()
: Modified. Added a warning for when r==0, which causes the SE of M and thus N to be Infinity
(this addresses #69). Added a similar warning for when R==0 (but not the last time period). Added tests for the warning messages. Changed one use of apply()
to rowSums()
for ease of reading. Changed to use iCheckConfLevel()
(which addresses #66).
paletteChoices()
: REMOVED. See chooseColors()
above. Partially addresses #65.paletteChoices()
: REMOVED. See chooseColors()
above. Partially addresses #65.
poiCI()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).poiCI()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).
psdAdd()
: Modified. Changed a levels()
in iPSDlitCheck()
to unique()
because species
is no longer a factor due to updating PSDlit
(i.e., rdata file changed with new read.csv()
).psdCalc()
: Modified. Added a catch for when “tibble”s are sent in data=
(addresses #75). Changed to use iCheckConfLevel()
(which addresses #66).psdCalc()
: Modified. Added a catch for when “tibble”s are sent in data=
(addresses #75). Changed to use iCheckConfLevel()
(which addresses #66).
psdCI()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).psdCI()
: Modified. Changed to use iCheckConfLevel()
(which addresses #66).
PSDlit
: Modified. Added length categories for Shoal Bass and Pallid Sturgeon. Added Striped Bass (Hybrid) and Striped Bass x White Bass; though these are the same as the existing Palmetto Bass. Added “source”s for each entry.psdVal()
: Modified. Changed a levels()
in iPSDlitCheck()
and iListSpecies()
to unique()
because species
is no longer a factor due to updating PSDlit
(i.e., rdata file changed with new read.csv()
). Added a showJustSource=
argument that will show the source info (if TRUE
) or not (if FALSE
; default), which partially addresses #76.psdVal()
: Modified. Changed a levels()
in iPSDlitCheck()
and iListSpecies()
to unique()
because species
is no longer a factor due to updating PSDlit
(i.e., rdata file changed with new read.csv()
). Added a showJustSource=
argument that will show the source info (if TRUE
) or not (if FALSE
; default), which partially addresses #76.
removal()
: Modified. Added check and then warning if non-whole numbers are in catch=
(addresses #60). Also modified checks of data integrity to be more robust (e.g., if a character vector is sent). Changed to use iCheckConfLevel()
(which addresses #66).removal()
: Modified. Added check and then warning if non-whole numbers are in catch=
(addresses #60). Also modified checks of data integrity to be more robust (e.g., if a character vector is sent). Changed to use iCheckConfLevel()
(which addresses #66).
residPlot()
: DEPRECATED (partially addresses #65). Prior to that removed use of chooseColors()
(see above).residPlot()
: DEPRECATED (partially addresses #65). Prior to that removed use of chooseColors()
(see above).
Subset()
: REMOVED. Added to FSA-defunct
. Partially addresses #65.Subset()
: REMOVED. Added to FSA-defunct
. Partially addresses #65.
wrAdd()
: Modified. Changed a levels()
in iwsLitCheck()
to unique()
because species
is no longer a factor due to updating WSlit
(i.e., rdata file changed with new read.csv()
).WSlit
: Modified. Addresses #68.
+WSlit
: Modified. Addresses #68.
tests\plottests\
to speed up testing. The tests\plottests\
was added to .Rbuildignore
.hist.formula()
: Modified. Fixed bug with y-axes when freq=FALSE
is used (fixes #62; thanks to @carlostorrescubila).hist.formula()
: Modified. Fixed bug with y-axes when freq=FALSE
is used (fixes #62; thanks to @carlostorrescubila).fitPlot()
: Modified. Fixed bugs with handling models that used character rather than factor variables.plotBinResp()
: REMOVED. Removed as a user-facing function, but made as an internal function for continued use in fitPlot()
while fitPlot()
is deprecated.psdAdd()
: Modified. Fixed bug relate to species that were NA
(fixes #64; thanks to Dan Shoup). Added more tests and fixed some typos in the documentation.psdAdd()
: Modified. Fixed bug relate to species that were NA
(fixes #64; thanks to Dan Shoup). Added more tests and fixed some typos in the documentation.
psdPlot()
: Modified. Fixed bug with box around the plot when add.psd=FALSE
. Added 5% expansion to top of y-axis so that bars did not run into the box.fitPlot()
: Modified. Fixed bug related to y-axis limits not extending to contain the data, confidence bands, or prediction bands (in fitPlot.slr()
). This addresses #3 listed for NCStats
).hist.formula()
: Modified. Fixed bug related to subsequent calls after a call that used iaxs=FALSE
. This addresses #46.hist.formula()
: Modified. Fixed bug related to subsequent calls after a call that used iaxs=FALSE
. This addresses #46.
iLegendHelp()
: Modified. Added a catch if a proper keyword is not supplied.nlsTracePlot()
: Modified. Moved error catching for improper keyword for legend placement forward.SchnuteRichards()
: Added. This addresses #54.SchnuteRichards()
: Added. This addresses #54.
dunnTest()
. Should have done this long ago.data()
in examples that referred to data from this package. Included the package=
argument in data()
that loaded from other packages.seealso
, with links to which functions use the data for examples, to docmentation for all data.frames.\dontrun()
s from the bootCase
related examples now that car
package is updated. This addresses #45.\dontrun()
s from the bootCase
related examples now that car
package is updated. This addresses #45.addZeroCatch()
: Modified. Added a catch that turns a “tibble” into a regular data.frame (which obviates some errors that occur with tibbles). Minor changes to documentation and comments in the code.agePrecision()
: Modified. Added intermediate and summary calculations for median and modal age; average absolute deviation and standard deviation; APE and CV with the median rather than the mean as the divisor; and index of precision (D). Added show.prec2=
. Updated tests and examples. Other minor modifications to the function code. Addresses #41 and #49.agePrecision()
: Modified. Added intermediate and summary calculations for median and modal age; average absolute deviation and standard deviation; APE and CV with the median rather than the mean as the divisor; and index of precision (D). Added show.prec2=
. Updated tests and examples. Other minor modifications to the function code. Addresses #41 and #49.
alkIndivAge()
: Modified. Replaced an options(warn=-1)
with suppressWarnings()
.alkPlot()
: Modified. Changed to using withr::local_par()
(partially addresses #38). Replaced an options(warn=-1)
with suppressWarnings()
.alkPlot()
: Modified. Changed to using withr::local_par()
(partially addresses #38). Replaced an options(warn=-1)
with suppressWarnings()
.
alkSummaries()
: Modified. Replaced an options(warn=-1)
with suppressWarnings()
.withr::local_par()
(partially addresses #38).withr::local_par()
(partially addresses #38).capHistSum()
: Modified. Changed to using withr::local_par()
(partially addresses #38).capHistSum()
: Modified. Changed to using withr::local_par()
(partially addresses #38).
chapmanRobson()
: Modified. Changed to using withr::local_par()
(partially addresses #38).chapmanRobson()
: Modified. Changed to using withr::local_par()
(partially addresses #38).
fishR()
: Modified. Changed examples in documentation to not be run (so as not to open an external webpage).FSAnews()
: Modified. Changed examples in documentation to not be run (so as not to open an external webpage).withr::local_par()
(partially addresses #38).withr::local_par()
(partially addresses #38).hist.formula()
: Modified. Changed to using withr::local_par()
(partially addresses #38).hist.formula()
: Modified. Changed to using withr::local_par()
(partially addresses #38).
lwCompPreds()
: Modified. Changed to using withr::local_par()
(partially addresses #38).lwCompPreds()
: Modified. Changed to using withr::local_par()
(partially addresses #38).
plotAB()
: Modified. Now in its own documentation file (rather than with ageBias()
).psdCalc()
: Modified. Better handled the situation where the user asks for summaries with some fish greater than stock size but no fish greater than quality size (addresses #50; thanks to Timothy Spier for the bug report).psdCalc()
: Modified. Better handled the situation where the user asks for summaries with some fish greater than stock size but no fish greater than quality size (addresses #50; thanks to Timothy Spier for the bug report).
removal()
: Modified. Added method="Burhnam"
via the #51 from Powell Wheeler.removal()
: Modified. Added method="Burhnam"
via the #51 from Powell Wheeler.
residPlot()
: Modified. Changed to using withr::local_par()
(partially addresses #38).residPlot()
: Modified. Changed to using withr::local_par()
(partially addresses #38).
SMBassWB
: Modified. Fixed minor data entry error in row 383.addZeroCatch()
: Modified. Changed two 1:nrow()
structures to seq_len(nrow())
(partially addressing #36).addZeroCatch()
: Modified. Changed two 1:nrow()
structures to seq_len(nrow())
(partially addressing #36).
ageBias()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).ageBias()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
agePrecision()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).agePrecision()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
bcFuns()
: Modified. Changed three 1:length()
structures to seq_along()
(partially addressing #36).bcFuns()
: Modified. Changed three 1:length()
structures to seq_along()
(partially addressing #36).
bootCase()
methods: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).bootCase()
methods: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
capHistConvert()
: Modified. Changed all 1:
structures to seq_len()
or seq_along()
(partially addressing #36).capHistConvert()
: Modified. Changed all 1:
structures to seq_len()
or seq_along()
(partially addressing #36).
capHistSum()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).capHistSum()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
chooseColors()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).chooseColors()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
compSlopes()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).compSlopes()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
compIntercepts()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).compIntercepts()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
extraSS()
: Modified. Changed all 1:
structures to seq_len()
or seq_along()
(partially addressing #36).extraSS()
: Modified. Changed all 1:
structures to seq_len()
or seq_along()
(partially addressing #36).
headtail()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).headtail()
: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
hist.formula()
methods: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).hist.formula()
methods: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
htest.boot()
: Removed (added last version) until I can test more.iHndlFormula()
: Modified. Now categorizes a character variable as a factor variable. This addresses #35) for hist.formula()
and Summarize()
.iHndlFormula()
: Modified. Now categorizes a character variable as a factor variable. This addresses #35) for hist.formula()
and Summarize()
.
lrt()
: Modified. Changed all 1:
structures to seq_len()
or seq_along()
(partially addressing #36).lrt()
: Modified. Changed all 1:
structures to seq_len()
or seq_along()
(partially addressing #36).
lwCompPreds()
: Modified. Changed all 1:
structures to seq_len()
or seq_along()
(partially addressing #36).lwCompPreds()
: Modified. Changed all 1:
structures to seq_len()
or seq_along()
(partially addressing #36).
mrClosed()
: Modified. Changed two 1:length()
structures to seq_along()
(partially addressing #36).mrClosed()
: Modified. Changed two 1:length()
structures to seq_along()
(partially addressing #36).
nlsBoot()
methods: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).nlsBoot()
methods: Modified. Changed all 1:
structures to seq_len()
(partially addressing #36).
plot.boot()
: Removed (added last version) until I can test more.predict.boot()
: Removed (added last version) until I can test more.psdAdd()
: Modified. Changed three 1:
structures to seq_len()
or seq_along()
(partially addressing #36).psdAdd()
: Modified. Changed three 1:
structures to seq_len()
or seq_along()
(partially addressing #36).
residPlot()
: Modified. Changed three 1:length()
structures to seq_along()
(partially addressing #36).residPlot()
: Modified. Changed three 1:length()
structures to seq_along()
(partially addressing #36).
Summarize()
: Modified. Changed one 1:length()
structure to seq_along()
(partially addressing #36).Summarize()
: Modified. Changed one 1:length()
structure to seq_along()
(partially addressing #36).
wrAdd()
: Modified. Changed three 1:
structures to seq_len()
or seq_along()
(partially addressing #36).wrAdd()
: Modified. Changed three 1:
structures to seq_len()
or seq_along()
(partially addressing #36).
plot.boot()
: Added.plotAB()
: Modified. Added col.numbers=
to allow users to modify the color of the numbers when what="numbers"
is used (addresses #34).plotAB()
: Modified. Added col.numbers=
to allow users to modify the color of the numbers when what="numbers"
is used (addresses #34).
predict.boot()
: Added.iAddOutlierTestResults()
: Modified. Fixed bug related to point labels in residPlot()
when the data.frame for the original model had NA
values.removal()
: Modified document by merging pull request #33.removal()
: Modified document by merging pull request #33.
srStarts()
: Modified. Added fixed=
. Added some catches for poor starting values. Added relevant tests. Addresses #30.srStarts()
: Modified. Added fixed=
. Added some catches for poor starting values. Added relevant tests. Addresses #30.
binCI()
: Modified. Changed from using binconf()
in Hmisc
to binom.exact()
, binom.wilson()
, and binom.approx()
from epitools
(this removes dependency on Hmisc
which was causing problems). Allowed multiple type
s to be chosen. Now only accepts whole numbers for x
and n
. Added verbose=
so that the result can include all of the information returned from the epitools
functions. Added a catch for bad conf.level
s. Added some more tests.catchCurve()
: Modified. Made sure that coef()
method returned a vector (addresses #19). Modified confint()
code for efficiency, made sure matrix is always returned.catchCurve()
: Modified. Made sure that coef()
method returned a vector (addresses #19). Modified confint()
code for efficiency, made sure matrix is always returned.
chapmanRobson()
: Modified. Made sure that coef()
method returned a vector (addresses #19). Modified confint()
code for efficiency, made sure matrix is always returned.chapmanRobson()
: Modified. Made sure that coef()
method returned a vector (addresses #19). Modified confint()
code for efficiency, made sure matrix is always returned.
chooseColors()
: Modified. Added rev=
for returning reverse ordered (from default) colors.depletion()
: Modified. Changed coef()
method so that it returned a named vector (addresses #19). Modified confint()
code for efficiency, made sure matrix is always returned. Removed type=
to match other functions (incorporated that functionality into parm=
). Removed digits=
to match other functions.depletion()
: Modified. Changed coef()
method so that it returned a named vector (addresses #19). Modified confint()
code for efficiency, made sure matrix is always returned. Removed type=
to match other functions (incorporated that functionality into parm=
). Removed digits=
to match other functions.
expandLenFreq()
: Modified. Changed all message()
s to cat()
s. Removed “names” from printed items for a cleaner look.iHndlCols2use()
: Deleted. Changed to iHndlCols2UseIgnore()
.iHndlCols2UseIgnore()
: Added. Previously was iHndlCols2use()
. Completely reworked to catch more problems including having both positive and negative indices (fixes #24) and choosing variable names that don’t exist (fixes #25).iHndlCols2UseIgnore()
: Added. Previously was iHndlCols2use()
. Completely reworked to catch more problems including having both positive and negative indices (fixes #24) and choosing variable names that don’t exist (fixes #25).
iHndlFormula()
: Modified. Added code to deal with a formula that is a single “variable” sent in an array. Addresses #21 for the simple situation of single “variable.”iHndlFormula()
: Modified. Added code to deal with a formula that is a single “variable” sent in an array. Addresses #21 for the simple situation of single “variable.”
iHndlMultWhat()
: Modified. Added type=
to allow use with message()
or cat()
.metaM()
: Modified. Fixed bug with the way messages were output when multiple methods
were provided and justM=FALSE
. Added more tests.mrClosed()
: Modified. Added poi.type=
to handle new choices for Poisson confidence interals. Added some checks for non-vector uses of M=
and R=
(partially addresses #22). Fixed bug in how inputs for subgroups were output from summary()
when verbose=TRUE
.mrClosed()
: Modified. Added poi.type=
to handle new choices for Poisson confidence interals. Added some checks for non-vector uses of M=
and R=
(partially addresses #22). Fixed bug in how inputs for subgroups were output from summary()
when verbose=TRUE
.
mrOpen()
: Modified. Changed all message()
s in summary()
to cat()
s. Fixed bug where returned value from summary()
was not a data.frame if only one parameter was selected.psdCalc()
: Modified. Fixed bug in output if more than two additional lengths were supplied.removal()
: Modified. Added a check and a returned error if method="Schnute"
and the last of three catches is zero (addresses #26) Fixed bug related to sending catches in a one column data.frame. Fixed bug related to selecting only one parm=
in confint()
. Added tests.removal()
: Modified. Added a check and a returned error if method="Schnute"
and the last of three catches is zero (addresses #26) Fixed bug related to sending catches in a one column data.frame. Fixed bug related to selecting only one parm=
in confint()
. Added tests.
residPlot()
: Modified. Added cex.leg=
and box.lty.leg=
to IVR plots. Removed extra spaces in main title if main="MODEL"
. Added some tests.catchCurve()
: Modified. Removed type=
and blended that functionality into parm=
for methods. Made parm=
consistent across methods.chapmanRobson()
: Modified. Added axis.age=
argument that allows the user to choose which type of x-axis is displayed (see examples; this addresses #20) Also modified code that adds the axes so that they should “look better” in more instances. Added na.rm=TRUE
to y-range calculation for the plot method. Added a coef()
method. Added a parm=
argument to the confint()
and summary()
methods. Added tests.chapmanRobson()
: Modified. Added axis.age=
argument that allows the user to choose which type of x-axis is displayed (see examples; this addresses #20) Also modified code that adds the axes so that they should “look better” in more instances. Added na.rm=TRUE
to y-range calculation for the plot method. Added a coef()
method. Added a parm=
argument to the confint()
and summary()
methods. Added tests.
confint.nlsBoot()
,confint.bootCase()
. Modified. Result is now a matrix even if only one parameter is chosen (previously it was an unnamed vector). The parm=
now properly handles negative values. Streamlined plotting results. Added tests.relax
from Suggests
. See srStarts()
and vbStarts()
notes below. This addresses #17.gdata
from Imports
. See filterD()
and Subset()
notes below. This addresses #5.relax
from Suggests
. See srStarts()
and vbStarts()
notes below. This addresses #17.gdata
from Imports
. See filterD()
and Subset()
notes below. This addresses #5.ageKeyPlot()
, capHistSum()
, hist.formula()
, histFromSum()
, lwCompPreds()
, plot.agebias()
, plot.CatchCurve()
, plot.ChapmanRobson()
, plot.Depletion()
, plotBinResp()
, print.compSlopes()
, print.compIntercepts()
, print.metaM()
, psdPlot()
,residPlot()
, srModels()
, srStarts()
, and vbStarts()
.ageKey()
: Removed. Deprecated since 0.4.24. Use alkIndivAge()
.filterD()
: Modified. Changed to use droplevels()
from base
rather than drop.levels()
from gdata
. Added except=
.fitPlot()
: Modified. Changed the way colors, plotting characters, and line types were handled for most of the models. Should make their use more flexible. Fixed errors that occurred in IVR models when the factor variable preceded the covariate in the model (fixes #18). Started to add tests for error and warning messages.fitPlot()
: Modified. Changed the way colors, plotting characters, and line types were handled for most of the models. Should make their use more flexible. Fixed errors that occurred in IVR models when the factor variable preceded the covariate in the model (fixes #18). Started to add tests for error and warning messages.
GompertzFuns()
: Modified. Changed type=
to param=
.sumTable()
in ALK related tests and Summarize()
in age comparisons tests. Prompted by forthcoming changes to testthat
.News.md
from .Rbuildignore
(apparently now supported by CRAN).alkPlot()
: Modified. Changed so that xlim=
and ylim=
would work when type="area"
and type="bar"
. This fixes #10 (Thanks to Joseph Feldhaus).alkPlot()
: Modified. Changed so that xlim=
and ylim=
would work when type="area"
and type="bar"
. This fixes #10 (Thanks to Joseph Feldhaus).hist.formula()
: Modified. Added the breaks=
argument (mostly a pass-through) and the w=
argument that allows the user to just set the width of the bins without having to set each break
value. This should complete #15.hist.formula()
: Modified. Added the breaks=
argument (mostly a pass-through) and the w=
argument that allows the user to just set the width of the bins without having to set each break
value. This should complete #15.
iCheckStartCatW()
: Modified. Now use iGetDecimals()
to extract the number of decimals in startcat
and w
.psdAdd()
: Modified. Minor changes to documentation.psdPlot()
: Modified. Fixed bug related to PSD values being printed when only PSD-Q existed (needed to add drop0Est=FALSE
to the psdCalc()
call; this fixes #13). Made the histogram bars flush with the x-axis rather than hovering above it (added yaxis="i"
to hist()
; this fixes #12). Minor changes to documentation.psdPlot()
: Modified. Fixed bug related to PSD values being printed when only PSD-Q existed (needed to add drop0Est=FALSE
to the psdCalc()
call; this fixes #13). Made the histogram bars flush with the x-axis rather than hovering above it (added yaxis="i"
to hist()
; this fixes #12). Minor changes to documentation.
psdVal()
: Modified. Minor changes to documentation.Added URL for fishR webpage in DESCRIPTION per CRAN request. Removed it from the URL field in DESCRIPTION.
Updated all references to Ogle (2016) in documentation.
ageBias()
: Modified. Minor corrections to the documentation.
agePrecision()
: Modified. Fixed bug related to computations of percent agreement when NA
values were present. There was an inconsistency between when what="precision"
and what="difference"
was used in summary()
. The bug fix now properly divides by the “valid sample size” for what="precision"
. This fixes #9 (Thanks to Joseph Feldhaus). Now returns validn
. Modifications to the documentation.
histFromSum()
: Added. Addresses #4.
agePrecision()
: Modified. Fixed bug related to computations of percent agreement when NA
values were present. There was an inconsistency between when what="precision"
and what="difference"
was used in summary()
. The bug fix now properly divides by the “valid sample size” for what="precision"
. This fixes #9 (Thanks to Joseph Feldhaus). Now returns validn
. Modifications to the documentation.
histFromSum()
: Added. Addresses #4.
metaM()
: Modified. Changed order of methods in methods=
. Minor corrections and additions to documentation.
mrClosed()
: Modified. Now sends warning if an NA
appears in the first position of m
, the first position of M
, or the last position of R
and converts these to 0 so that the procedure can continue. Each of these positions is ignored in the calculations. This fixes #8 (Thanks to Joe Mrnak).
mrClosed()
: Modified. Now sends warning if an NA
appears in the first position of m
, the first position of M
, or the last position of R
and converts these to 0 so that the procedure can continue. Each of these positions is ignored in the calculations. This fixes #8 (Thanks to Joe Mrnak).
reproInfo()
: Modified. Made changes to iGetAllDependencis()
based on forthcoming changes to package.dependencies()
(as notified by CRAN).
vbStarts()
: Modified. Fixed bug when dynamicPlot=TRUE
was used.
R/BluegillJL.R
+ Source: R/BluegillJL.R
BluegillJL.Rd
R/BrookTroutTH.R
+ Source: R/BrookTroutTH.R
BrookTroutTH.Rd
R/ChinookArg.R
+ Source: R/ChinookArg.R
ChinookArg.Rd
R/CodNorwegian.R
+ Source: R/CodNorwegian.R
CodNorwegian.Rd
R/CutthroatAL.R
+ Source: R/CutthroatAL.R
CutthroatAL.Rd
Functions from this package can be used to perform a variety of basic fisheries stock assessment methods. Detailed descriptions for most functions are available in the Introductory Fisheries Analysis with R book (Ogle 2016). Vignettes for the boxed examples in the “Analysis and Interpretation of Freshwater Fisheries Data” book can be viewed with fishR("AIFFD")
.
Questions, comments, or suggestions should be given on the GitHub FSA Issues page.
-Packages with related functionality by the same author are
The FSAdata package contains additional data sets.
Questions, comments, or suggestions should be given on the GitHub FSA Issues page.
+Packages with related functionality by the same author are
The FSAdata package contains additional data sets.
The FSAsim package simulation routines for various fisheries methods.
The FSAWs package contains functions for developing and validating standard weight equations.
R/PSDlit.R
+ Source: R/PSDlit.R
PSDlit.Rd
R/PikeNY.R
+ Source: R/PikeNY.R
PikeNY.Rd
R/PikeNYPartial1.R
+ Source: R/PikeNYPartial1.R
PikeNYPartial1.Rd
R/SMBassLS.R
+ Source: R/SMBassLS.R
SMBassLS.Rd
R/SMBassWB.R
+ Source: R/SMBassWB.R
SMBassWB.Rd
R/growthModels.R
+ Source: R/growthModels.R
Schnute.Rd
R/Summarize.R
+ Source: R/Summarize.R
Summarize.Rd
R/WhitefishLC.R
+ Source: R/WhitefishLC.R
WhitefishLC.Rd
R/addZeroCatch.R
+ Source: R/addZeroCatch.R
addZeroCatch.Rd
R/ageComparisons.R
+ Source: R/ageComparisons.R
ageBias.Rd
R/ageComparisons.R
+ Source: R/ageComparisons.R
agePrecision.Rd
R/alkSummaries.R
+ Source: R/alkSummaries.R
alkAgeDist.Rd
R/alkIndivAge.R
+ Source: R/alkIndivAge.R
alkIndivAge.Rd
R/alkSummaries.R
+ Source: R/alkSummaries.R
alkMeanVar.Rd
R/CIDists.R
+ Source: R/CIDists.R
binCI.Rd
R/capHistConvert.R
+ Source: R/capHistConvert.R
capHistConvert.Rd
R/capHistSum.R
+ Source: R/capHistSum.R
capHistSum.Rd
R/catchCurve.R
+ Source: R/catchCurve.R
catchCurve.Rd
R/chapmanRobson.R
+ Source: R/chapmanRobson.R
chapmanRobson.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
col2rgbt.Rd
R/depletion.R
+ Source: R/depletion.R
depletion.Rd
R/dunnTest.R
+ Source: R/dunnTest.R
dunnTest.Rd
R/expandCounts.R
+ Source: R/expandCounts.R
expandCounts.Rd
R/expandLenFreq.R
+ Source: R/expandLenFreq.R
expandLenFreq.Rd
R/extraTests.R
+ Source: R/extraTests.R
extraTests.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
fact2num.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
fishR.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
geomean.Rd
R/growthModels.R
+ Source: R/growthModels.R
growthModels.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
headtail.Rd
R/hist.formula.R
+ Source: R/hist.formula.R
hist.formula.Rd
R/histFromSum.R
+ Source: R/histFromSum.R
histFromSum.Rd
R/CIDists.R
+ Source: R/CIDists.R
hyperCI.Rd
All known standard weight equations.
Defunction functions.
+Defunct functions.
bootCase()
chooseColors()
compIntercepts()
compSlopes()
diags()
filterD()
fitPlot()
fsaNews()
hoCoef()
mapvalues()
plotBinResp()
residPlot()
Subset()
R/knitUtil.R
+ Source: R/knitUtil.R
knitUtil.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
logbtcf.Rd
R/lwCompPreds.R
+ Source: R/lwCompPreds.R
lwCompPreds.Rd
R/mrClosed.R
+ Source: R/mrClosed.R
mrClosed.Rd
R/mrOpen.R
+ Source: R/mrOpen.R
mrOpen.Rd
R/bootstrap.R
+ Source: R/bootstrap.R
nlsBoot.Rd
R/nlsTracePlot.R
+ Source: R/nlsTracePlot.R
nlsTracePlot.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
perc.Rd
R/ageComparisons.R
+ Source: R/ageComparisons.R
plotAB.Rd
R/psdAdd.R
+ Source: R/psdAdd.R
psdAdd.Rd
R/psdCalc.R
+ Source: R/psdCalc.R
psdCalc.Rd
R/psdPlot.R
+ Source: R/psdPlot.R
psdPlot.Rd
R/psdVal.R
+ Source: R/psdVal.R
psdVal.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
rSquared.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
rcumsum.Rd
R/removal.R
+ Source: R/removal.R
removal.Rd
See se
in sciplot for similar functionality.
See se
in sciplot for similar functionality.
R/srStarts.R
+ Source: R/srStarts.R
srStarts.Rd
R/sumTable.R
+ Source: R/sumTable.R
sumTable.Rd
R/tictactoe.R
+ Source: R/tictactoe.R
tictactoe.Rd
R/FSAUtils.R
+ Source: R/FSAUtils.R
validn.Rd
R/vbStarts.R
+ Source: R/vbStarts.R
vbStarts.Rd
R/wsVal.R
+ Source: R/wsVal.R
wsVal.Rd