Changelog
Source:NEWS.md
FSA 0.9.5
- Fixed FSA-package problem using the “automatic approach” (i.e., adding a "_PACKAGE" line to FSA.R) suggested in an e-mail from Kurt Hornik on 19-Aug-2023.
FSA 0.9.4
CRAN release: 2023-02-01
- Changes related to moving to fishR-Core-Team
- Updated sticker.
- Changed DHO e-mail address (in DESCRIPTION and in all author fields of the documentation). Partially address #86.
- Updated
pkgdown.yaml
GitHub action to v2. Changed action to only run on a release (rather than a push) but it can be run manually as well. - Updated
R-CMD-check.yaml
GitHub action to v2. Note that I had to add the extra code for dealing with graphics on the Mac version.
- Changes related to new fishR webpage
- Updated links in
fishR()
,FSA()
, andREADME.md
. Partially address #86. - Updated all links to Introductory Fisheries Analyses with R book.
- Added links to CSV files for all data sets. This addresses #96.
- Changed theme in
_pkgdown.yml
to match that ofFSAdata
and more closely matchfishR
. - Removed most recent dates from NEWS file as
pkgdown
picks up the CRAN release date to add. - Updated
CITATION
(to match that required for next version of R).
- Updated links in
-
alkIndivAge()
: Modified. Added a catch forNA
s in the length sample. Also added a test. This addresses #88. -
confint.boot()
: Modified. Changed hard-coding of columns that contained the confidence interval values to find those columns bygrep()
ing for the%
sign. This fixes an issue related tocar::Confint()
returning thecoef()
results for functions that have acoef()
method but not for those that do not. Also updated tests to use results fromcar::Boot()
rather than the oldcar::bootCase()
. -
PSDcalc
: Modified. Changed code to allow for missingspecies=
as long asaddLens=
is used. This allows the user to provide length categories for a species for which Gabelhouse lengths are not defined. Several new tests were added and some were modified to handle the changing message re: a missingspecies=
. The documentation was modified accordingly. This (finally) addresses #58. -
PSDlit
: Modified. Added info for Redbreast Sunfish and Spotted Sunfish from Bonvecchio et al. (2023). This addresses #100). -
wSlit
: Modified documentation. Described theRLP
andEmP
acronyms and provided references for them. This addresses #95). Added info for Redbreast Sunfish and Spotted Sunfish from Bonvecchio et al. (2023). This addresses #100).
FSA 0.9.3
CRAN release: 2022-02-18
- Moved
dplyr
fromimports
tosuggests
(needed because functions were removed in last version; however it is still used in some examples; partially addresses #87). - Removed
sciplot
fromimports
(because functions were removed in last version; partially addresses #87). - Updated tests for
ksTest()
to handle issues on the CRAN M1 build machine (per e-mail from Prof. Ripley on 15-Feb-22; partially addresses #87). - Updated all links to the
droglenc
github that were related toFSA
orFSAdata
to be to thefishR-Core-Team
github.
FSA 0.9.2 12-Feb-21
CRAN release: 2022-02-12
- Last version maintained by Derek Ogle. Transferring to fishR Core Team for next version.
-
filterD()
: REMOVED (toFSAmisc
). -
fitPlot()
: REMOVED (toFSAmisc
). -
fsaNews()
andFSANews()
: Removed. -
psdAdd()
: Modified. Changed the wayPSDlit
was loaded into the function environment so thatFSA::psdAdd()
will work. Addresses #85. -
PSDLit
: Modified. Added info for Utah Chub (from here; address #84). -
psdVal()
: Modified. Changed the wayPSDlit
was loaded into the function environment so thatFSA::psdVal()
will work. Addresses #85. -
residPlot()
: REMOVED (toFSAmisc
). -
wrAdd()
: Modified. Changed the wayWSlit
was loaded into the function environment so thatFSA::wrAdd()
will work. Addresses #85. -
WSLit
: Modified. Added info for Utah Chub (from here; address #84). -
wsVal()
: Modified. Changed the wayWSlit
was loaded into the function environment so thatFSA::wsVal()
will work. Addresses #85.
FSA 0.9.1
CRAN release: 2021-07-17
- Corrected testing issue for
catchCurve()
andchapmanRobson()
as directed by CRAN on 17-Jul-21. Issue likely caused by changes tofishmethods
package.
FSA 0.9.0
CRAN release: 2021-06-09
- Make note of the several removed (now defunct) and deprecated (soon to be defunct) functions listed below.
- Added Jason Doll as an
AUThor
. - Moved
plyr
from Imports to Suggests. -
alkPlot()
: Modified. Removed use ofchooseColors()
(see below). -
binCI()
: Modified. Changed to useiCheckConfLevel()
(which addresses #66). -
bootCase()
: REMOVED. Users can usecar::Boot()
, which partially addresses #65.-
plot.boot()
: REMOVED. Conflicted withboot::plot.boot()
which caused an error with CRAN. Same functionality is available withpairs(<boot object>$t)
.
-
-
catchCurve()
: Modified. Removed hard-coding ofylim=
forplot.catchCurve()
(this addresses #70 … Thanks to Brendan Runde). Addedround.est=
so that the user can control the decimals on mortality estimate values. Changed to useiCheckConfLevel()
(which addresses #66). -
chapmanRobson()
: Modified. Removed hard-coding ofylim=
forplot.chapmanRobson()
. Addedround.est=
so that the user can control the decimals on mortality and survival estimate values. Changed to useiCheckConfLevel()
(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. SeeiCheckMultColors()
. Partially addresses #65. -
compIntercepts()
: REMOVED (toFSAmisc
). Added toFSA-defunct
. Partially addresses #65. -
compSlopes()
: REMOVED (toFSAmisc
). Added toFSA-defunct
. Partially addresses #65. -
depletion()
: Modified. Changed to useiCheckConfLevel()
(which addresses #66). -
filterD()
: DEPRECATED (partially addresses #65). -
fitPlot()
: DEPRECATED (partially addresses #65). Prior to that removed use ofchooseColors()
(see above). -
diags()
: REMOVED (moved toFSAmisc
). Added toFSA-defunct
. Partially addresses #65. -
hoCoef()
: REMOVED (moved toFSAmisc
). Added toFSA-defunct
. Partially addresses #65. -
hyperCI()
: Modified. Changed to useiCheckConfLevel()
(which addresses #66). -
iCheckConfLevel()
: Added (internal to address #66). -
iCheckMultColors()
: Added (internal). Part of removingchooseColors()
andpaletteChoices()
. -
iRichColors()
: REMOVED (as part of removingchooseColors()
). -
mapvalues()
: REMOVED. Added toFSA-defunct
. Partially addresses #65. -
mrClosed()
: Modified. Changed to useiCheckConfLevel()
(which addresses #66). -
mrOpen()
: Modified. Added a warning for when r==0, which causes the SE of M and thus N to beInfinity
(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 ofapply()
torowSums()
for ease of reading. Changed to useiCheckConfLevel()
(which addresses #66). -
paletteChoices()
: REMOVED. SeechooseColors()
above. Partially addresses #65. -
poiCI()
: Modified. Changed to useiCheckConfLevel()
(which addresses #66). -
psdAdd()
: Modified. Changed alevels()
iniPSDlitCheck()
tounique()
becausespecies
is no longer a factor due to updatingPSDlit
(i.e., rdata file changed with newread.csv()
). -
psdCalc()
: Modified. Added a catch for when “tibble”s are sent indata=
(addresses #75). Changed to useiCheckConfLevel()
(which addresses #66). -
psdCI()
: Modified. Changed to useiCheckConfLevel()
(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 alevels()
iniPSDlitCheck()
andiListSpecies()
tounique()
becausespecies
is no longer a factor due to updatingPSDlit
(i.e., rdata file changed with newread.csv()
). Added ashowJustSource=
argument that will show the source info (ifTRUE
) or not (ifFALSE
; default), which partially addresses #76. -
removal()
: Modified. Added check and then warning if non-whole numbers are incatch=
(addresses #60). Also modified checks of data integrity to be more robust (e.g., if a character vector is sent). Changed to useiCheckConfLevel()
(which addresses #66). -
residPlot()
: DEPRECATED (partially addresses #65). Prior to that removed use ofchooseColors()
(see above). -
Subset()
: REMOVED. Added toFSA-defunct
. Partially addresses #65. -
wrAdd()
: Modified. Changed alevels()
iniwsLitCheck()
tounique()
becausespecies
is no longer a factor due to updatingWSlit
(i.e., rdata file changed with newread.csv()
). -
WSlit
: Modified. Addresses #68.- Corrected capitalization of “Cavedano Chub”, “European Chub”, “Lake Herring” (metric), and “Pursak Chub”.
- Removed “not in Neumann et al. (2012)” notes.
- Added African Sharptooth Catfish, Ankara Nase, Bighead and Silver Carp, Brook Trout (Appalachia), Fourbarbel Scraper, Horse Barbel, Nile Tilapia, Nipple-Lipped Scraper, Shoal Bass, South European Roach, Spotted Bass (Alabama subspecies) (AKA Alabama Bass).
- Added Striped Bass (Hybrid) and Striped Bass x White Bass; though these are the same as the existing Palmetto Bass.
-
wsVal()
: Modified. Changed alevels()
iniwsLitCheck()
tounique()
becausespecies
is no longer a factor due to updatingWSlit
(i.e., rdata file changed with newread.csv()
).
FSA 0.8.32
CRAN release: 2021-01-15
- Removed Travis-CI and appveyor.
- No longer using coveralls for coverage statistics. Changed to codecov.io.
- Added GitHub Action for CI/CD (used
usethis::use_github_action_check_standard()
). - Added GitHub Action for pkgdown (used
usethis::use_github_action("pkgdown")
). - Added GitHub Action for code coverage with codecov.io.
- Added a code of conduct for contributors.
- Moved a bunch of plotting examples in the documentation to
tests\plottests\
to speed up testing. Thetests\plottests\
was added to.Rbuildignore
. -
hist.formula()
: Modified. Fixed bug with y-axes whenfreq=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 infitPlot()
whilefitPlot()
is deprecated. -
psdAdd()
: Modified. Fixed bug relate to species that wereNA
(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 whenadd.psd=FALSE
. Added 5% expansion to top of y-axis so that bars did not run into the box. -
residPlot()
: Modified. Fixed bugs with handling models that used character rather than factor variables.
FSA 0.8.31
CRAN release: 2020-11-08
- Now using roxygen v7.1.1.
- Added
tibble
to suggests (see comment aboutheadtail()
below). - Cleaned up the documentation of parameters for
RichardsFuns()
(documentation did not change when parameter letters were changed for the Age and Growth book). - Changed example in
headtail()
to useas_tibble()
fromtibble
package rather thantbl_df()
fromdplyr
package. Required addingtibble
to suggests. -
nlsTracePlot()
: Modified. Created a conditional catch depending on the version of R as the results ofnls(*,trace=TRUE)
are changing in v4.1.0 (per e-mail from Martin Maechler on 2-Nov-20).
FSA 0.8.30
CRAN release: 2020-03-09
- Date: 9-Mar-20
- Started using
rhub::check_for_cran()
for checking before sending to CRAN. - Updated tests for
Summarize()
andksTest()
that useddata.frame()
. This should have been done with v0.8.28. - Fixed errors for tests in
ksTest()
that were identified using R-hub. - Removed all links to documentation in non-dependent or non-suggested packages. This removes a note from R-hub.
-
fishR()
: Modified. Changed base URL tohttps:
(fromhttp:
). Addedopen=
, primarily to allow not opening a browser during testing.
FSA 0.8.29
- Date: 8-Mar-20
- Removed dependency on
epitools
package as it may soon be orphaned. See changes tobinCI()
andpoiCI()
outlined below. -
binCI()
: Modified. Added internal functions that are based on (but not identical to) functions in theepitools
package which will possibly be deprecated soon (per note from CRAN on 7-Mar-20). -
poiCI()
: Modified. Added internal functions that are based on (but not identical to) functions in theepitools
package which will possibly be deprecated soon (per note from CRAN on 7-Mar-20).
FSA 0.8.28
- Date: 28-Feb-20
-
fitPlot()
: Modified. Changed so that lines are plotted after the points in the IVR versions. -
ksTest()
: Modified. Changed documentation examples to handle R’s new way of handlingstringsAsFactors=
(per request from CRAN on 27-Feb-20). -
psdAdd()
: Modified. Changed testing to handle R’s new way of handlingstringsAsFactors=
(per request from CRAN on 27-Feb-20).
FSA 0.8.27
CRAN release: 2020-02-03
- Now using ROxygen2 7.0.2.
- Removed dependency on
gplots
package as it is now orphaned. Required addingiRichColors()
internal function. -
lwCompPreds()
: Removed\dots
from arguments as it was not in usage (per request from CRAN on 3-Feb-20). -
repeatedRows2Keep()
: Modified. Now makes comparisons as ifNA
s are regular values.
FSA 0.8.26
CRAN release: 2019-11-22
- Changed to depending on
R >=3.5.0
, because that is the latest version required by a package (i.e.,car
) that FSA imports or suggests. Used the “check_r_versions_of_package_dependencies” shiny app by “ateucher” (on Github) to help determine this. - Removed
asbio
package from suggests as it hung up Travis-CI build (because of the need for the TCLTK package). -
capFirst()
: Modified. Fixed bug related to anNA
item. -
psdAdd()
: Modified. Changedspec=
tospecies=
to be consistent withpsdCalc()
andpsdPlot()
. -
peek()
: Added. -
repeatedRows2Keep()
: Modified. Added a catch if the data.frame only contains one row (it then returnsTRUE
so that that row is kept).
FSA 0.8.25 24-Jul-19
CRAN release: 2019-07-24
-
agePrecision()
: Modified. Changed so that PE2 and CV2 use the median in the entire calculation rather than just in the denominator. -
iHndlColsUseIgnore()
: Modified. Changed so that a 0 indice returns an error. -
repeatedRows2Keep()
: Added. -
vbStarts()
: Modified. Corrected bug related to point transparenty whenplot=TRUE
and there is no age/length combination repeats (i.e., all age/length combinations are unique). Corrected bug ofcol.main=
being ignored whenplot=TRUE
.
FSA 0.8.24 17-May-19
CRAN release: 2019-05-21
- Corrected misuses of
\concept
in Rd files per CRAN request.
FSA 0.8.23 1-May-19
CRAN release: 2019-05-02
- Reorganized
testthat
folder as suggested intestthat
release notes. - Removed all uses of
Subset()
(replaced withfilterD()
). -
fitPlot()
: Modified. Fixed bug related to y-axis limits not extending to contain the data, confidence bands, or prediction bands (infitPlot.slr()
). This addresses #3 listed forNCStats
). -
hist.formula()
: Modified. Fixed bug related to subsequent calls after a call that usediaxs=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.
FSA 0.8.22
CRAN release: 2018-11-22
- Corrected CITATION file.
- Updated tests for changes in the
fishmethods
package (vblrt()
replaced withgrowthlrt()
andT=
replaced withTC=
inM.empirical()
) per CRAN request.
FSA 0.8.21
CRAN release: 2018-11-03
- Added a webpage. Setup Travis-CI to handle updates.
- Added a hex sticker logo.
- Added
withr
to Imports (see usages below). - Added
Encoding: UTF-8
to DESCRIPTION. - Added Powell Wheeler as an author for their work adding
method="Burnham"
toremoval()
. - Added Alexis Dinno as an author for their providing the base functionality of
dunnTest()
. Should have done this long ago. - Removed all
data()
in examples that referred to data from this package. Included thepackage=
argument indata()
that loaded from other packages. - Added
seealso
, with links to which functions use the data for examples, to docmentation for all data.frames. - Removed
\dontrun()
s from thebootCase
related examples now thatcar
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). Addedshow.prec2=
. Updated tests and examples. Other minor modifications to the function code. Addresses #41 and #49. -
alkIndivAge()
: Modified. Replaced anoptions(warn=-1)
withsuppressWarnings()
. -
alkPlot()
: Modified. Changed to usingwithr::local_par()
(partially addresses #38). Replaced anoptions(warn=-1)
withsuppressWarnings()
. -
alkSummaries()
: Modified. Replaced anoptions(warn=-1)
withsuppressWarnings()
. - Bootstrapping functions: Modified. Changed to using
withr::local_par()
(partially addresses #38). -
capHistSum()
: Modified. Changed to usingwithr::local_par()
(partially addresses #38). -
chapmanRobson()
: Modified. Changed to usingwithr::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). - Growth models: Modified. Changed to using
withr::local_par()
(partially addresses #38). -
hist.formula()
: Modified. Changed to usingwithr::local_par()
(partially addresses #38). -
lwCompPreds()
: Modified. Changed to usingwithr::local_par()
(partially addresses #38). -
plotAB()
: Modified. Now in its own documentation file (rather than withageBias()
). -
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. Addedmethod="Burhnam"
via the #51 from Powell Wheeler. -
residPlot()
: Modified. Changed to usingwithr::local_par()
(partially addresses #38). -
SMBassWB
: Modified. Fixed minor data entry error in row 383. -
vbFuns()
: Modified. AddedFrancis3
to the list of models.
FSA 0.8.20
CRAN release: 2018-05-18
- Added
asbio
,DescTools
,nlme
, andpsych
packages to Suggests because they are used in tests (and as will soon be required by CRAN … per an e-mail from CRAN on 17-May-18). - Fixed a bunch of bad links to other packages in the documentation.
- Removed the “Date” field from the Description file.
-
addRadCap()
: Removed. Moved toRFishBC
package. -
bcFuns()
: Removed. Moved toRFishBC
package. -
gConvert()
: Removed. Moved toRFishBC
package. -
mrClosed()
: Modified. Fixed a bug that was related topoiCI()
returning results from all four types. NowmrClosed()
will use only one type. Thanks to Timothy Spiers for pointing out this bug. -
SMBassWB
: Modified. Fixed minor data entry error in row 404. Changed link in documentation fromalr3
toalr4
package.
FSA 0.8.19
CRAN release: 2018-04-08
-
addZeroCatch()
: Modified. Changed two1:nrow()
structures toseq_len(nrow())
(partially addressing #36). -
ageBias()
: Modified. Changed all1:
structures toseq_len()
(partially addressing #36). -
agePrecision()
: Modified. Changed all1:
structures toseq_len()
(partially addressing #36). -
bcFuns()
: Modified. Changed three1:length()
structures toseq_along()
(partially addressing #36). -
bootCase()
methods: Modified. Changed all1:
structures toseq_len()
(partially addressing #36). -
capHistConvert()
: Modified. Changed all1:
structures toseq_len()
orseq_along()
(partially addressing #36). -
capHistSum()
: Modified. Changed all1:
structures toseq_len()
(partially addressing #36). -
chooseColors()
: Modified. Changed all1:
structures toseq_len()
(partially addressing #36). -
compSlopes()
: Modified. Changed all1:
structures toseq_len()
(partially addressing #36). -
compIntercepts()
: Modified. Changed all1:
structures toseq_len()
(partially addressing #36). -
extraSS()
: Modified. Changed all1:
structures toseq_len()
orseq_along()
(partially addressing #36). -
headtail()
: Modified. Changed all1:
structures toseq_len()
(partially addressing #36). -
hist.formula()
methods: Modified. Changed all1:
structures toseq_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) forhist.formula()
andSummarize()
. -
lrt()
: Modified. Changed all1:
structures toseq_len()
orseq_along()
(partially addressing #36). -
lwCompPreds()
: Modified. Changed all1:
structures toseq_len()
orseq_along()
(partially addressing #36). -
mrClosed()
: Modified. Changed two1:length()
structures toseq_along()
(partially addressing #36). -
nlsBoot()
methods: Modified. Changed all1:
structures toseq_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 three1:
structures toseq_len()
orseq_along()
(partially addressing #36). -
residPlot()
: Modified. Changed three1:length()
structures toseq_along()
(partially addressing #36). -
Summarize()
: Modified. Changed one1:length()
structure toseq_along()
(partially addressing #36). -
wrAdd()
: Modified. Changed three1:
structures toseq_len()
orseq_along()
(partially addressing #36).
FSA 0.8.18
- Date: 31-Mar-18
- Changed to depending on
R >=3.2.0
, because that is the latest version required by a package (i.e.,car
) that FSA imports or suggests. Used the “check_r_versions_of_package_dependencies” shiny app by “ateucher” (on Github) to help determine this. - Using latest
testthat
package. -
bootCase()
: Added. This was added becausebootCase()
will soon be removed from thecar
package. It was added so that the code in the Introductory Fisheries Analyses with R book will still work. It is largely a wrapper toBoot()
incar
withmethod="case"
. The documentation was updated somewhat. -
catchCurve()
: Modified. Changed the weighted regression method so that negative weights are set to zero rather than the minimum of the positive values (brought to my attention by Vaskar Nepal KC). Also added anrSquared()
method (per request by Vaskar Nepal KC). -
depletion()
: Modified. Added anrSquared()
method. -
expandCounts()
: Modified. Minor changes to documentation. -
hTest.boot()
: Added. -
plot.boot()
: Added. -
plotAB()
: Modified. Addedcol.numbers=
to allow users to modify the color of the numbers whenwhat="numbers"
is used (addresses #34). -
predict.boot()
: Added. -
psdPlot()
: Modified. Minor changes to documentation and look of the function code. -
rSquared()
: Added fromNCStats
, but including a generic method so that it can be used for other models (e.g.,catchCurve()
). -
vbFuns()
: Modified. SwitchedFabens
andFabens2
parameterizations to better matchWang
(i.e., increment model first). AddedFrancis2
parameterization for tag-recapture data. -
vbStarts()
: Modified. Fixed some spacing issues with the warnings when starting values for Linf was poorly estimated. Added an argument toivbStarts.LinfK()
to suppress checking the value of Linf. This argument reduces the change of double-printing the warning message when there are bad estimates of starting values for Linf and K.
FSA 0.8.17
CRAN release: 2017-10-29
-
dunnTest()
: Modified. Adjusted code to handle the addition ofaltp=
to and modified output fromdunn.test()
indunn.test
. Added additional tests and corrected some issues in the documentation. -
GompertzFuns()
: Modified. Fixed error in message (i.e.,msg=TRUE
) forparam="Ricker2"
.
FSA 0.8.16
CRAN release: 2017-09-07
- Need to resubmit v0.8.15 to CRAN, so bumped the version.
-
growthFunShow()
: Modified. Fixed error in expression fortype="Logistic"
andparam="CampanaJones1"
.
FSA 0.8.15
- Date: 6-Sep-17
- Added a script to the
helpers
directory that will test that all required packages are installed. -
iAddOutlierTestResults()
: Modified. Fixed bug related to point labels inresidPlot()
when the data.frame for the original model hadNA
values. -
removal()
: Modified document by merging pull request #33. -
srStarts()
: Modified. Addedfixed=
. Added some catches for poor starting values. Added relevant tests. Addresses #30.
FSA 0.8.14
CRAN release: 2017-07-27
- Moved
dunn.test
andlmtest
toimports
to help with portability for workshops. -
ageBias()
: Modified. Fixed bug inplot()
so that the tick marks on the marginal histograms match the tick marks on the main plot. Changed the defaulthist.panel.size=
inplot()
so that it more reliably prints the values on the axes of the marginal histograms. -
removal()
: Modified. Added “warnings” for when all catches are zeroes (an object is still returned with allNA
s). Thanks to Daniel Hanks for pointing out this issue. -
Summarize()
: Modified. Fixed bug whenpercZero!="always"
and there are no valid values such that the calculated percent of zeroes isNA
.
FSA 0.8.13
CRAN release: 2017-04-29
-
ageBias()
: Modified. A complete rebuild ofplot
. Major changes are to addplotAB()
which is primarily used to make the “legacy” age bias plots of Campana, removal of the “sunflower” plot option, new sets of defaults for many of the arguments that reflect my preferences for visualizing age comparisons (which includes defaulting to plotting differences in ages), addition of the ability to add marginal histograms (xHist=
,yHist=
,col.hist=
, andhist.panel.size=
), better handling of axis ticks and labels (primarily to show ticks at integers and make sure 0 is included for differences), and allowing the ability to add “summary layers” to the main plot (seeallowAdd=
). Many examples were added. Some functionality from previous versions will be broken. -
capFirst()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
compIntercepts()
: Modified. Replaced twodim()
calls withnrow()
. -
fact2num()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
lagratio()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
iHndlCols2UseIgnore()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
iLegendHelp()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
iPredictBoot()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
is.CapHist()
: Added. -
iTypeoflm()
: Modified. Added a catch for a linear model that has a character variable (now alerts the user with a warning). -
mrClosed()
: Modified. Changed someif()
s withclass()
es tois.CapHist()
. -
mrOpen()
: Modified. Changed someif()
s withclass()
es tois.CapHist()
. -
nlsTracePlot()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
perc()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
plotAB()
: Added. See description above forageBias()
. -
plotBinResp()
: Modified. Changed how default transparency level is calculated and set the maximum transparency to 50 (changed from 500). Fixed bug in how the width of the proportions windows were calculated by default. These changes will affectfitPlot()
for logistic regression models. -
psdAdd()
: Modified. Changed someif()
s withclass()
es toinherits()
. -
residPlot()
: Modified. Changed default forloess=
fromTRUE
toFALSE
. Changed someif()
s withclass()
es toinherits()
. -
wrAdd()
: Modified. Changed someif()
s withclass()
es toinherits()
.
FSA 0.8.12
CRAN release: 2017-03-12
- Lots of spelling corrections after running
devtools::spell_check()
. - Cleaned up some issues in the testing files that were caused by a new version of
fishmethods
and changes to R v3.4.0. -
metaM()
: Modified. ChangedT=
toTemp=
to reduce potential for conflicts withTRUE
abbreviation. -
reproInfo()
: Modified. Addedind=
to select a CRAN mirror to help with a common problem I have when knitting. -
srStarts()
: Modified. Corrected mis-spelling in directive toFSAsim
package. -
vbStarts()
: Modified. Added a catch that Linf cannot be automatically estimated with fewer than three ages. Corrected mis-spelling in directive toFSAsim
package.
FSA 0.8.11
CRAN release: 2016-12-13
- Changed all
stop()
s toSTOP()
s and allwarning()
s toWARN()
. This modified nearly all functions. - Changed all
paste()
s that usedsep=""
topaste0()
s. - Removed several
sep=""
s frommessage()
s. - Removed
Hmisc
from, but addedepitools
to, imports. Removed all links toHmisc
to remove CRAN check warnings. - Reorganized testing files. Added many tests.
-
.onAttach()
: Modified. Streamlined package startup message. -
addZeroCatch()
: Modified. Added more “catches” for bad data types or arguments. -
ageBias()
: Modified. Changed allmessage()
s insummary()
tocat()
s. -
agePrecision()
: Modified. Changed allmessage()
s insummary()
tocat()
s. -
binCI()
: Modified. Changed from usingbinconf()
inHmisc
tobinom.exact()
,binom.wilson()
, andbinom.approx()
fromepitools
(this removes dependency onHmisc
which was causing problems). Allowed multipletype
s to be chosen. Now only accepts whole numbers forx
andn
. Addedverbose=
so that the result can include all of the information returned from theepitools
functions. Added a catch for badconf.level
s. Added some more tests. -
catchCurve()
: Modified. Made sure thatcoef()
method returned a vector (addresses #19). Modifiedconfint()
code for efficiency, made sure matrix is always returned. -
chapmanRobson()
: Modified. Made sure thatcoef()
method returned a vector (addresses #19). Modifiedconfint()
code for efficiency, made sure matrix is always returned. -
chooseColors()
: Modified. Addedrev=
for returning reverse ordered (from default) colors. -
depletion()
: Modified. Changedcoef()
method so that it returned a named vector (addresses #19). Modifiedconfint()
code for efficiency, made sure matrix is always returned. Removedtype=
to match other functions (incorporated that functionality intoparm=
). Removeddigits=
to match other functions. -
expandLenFreq()
: Modified. Changed allmessage()
s tocat()
s. Removed “names” from printed items for a cleaner look. -
fitPlot()
: Modified. Addedcex.leg=
andbox.lty.leg=
to IVR plots. -
hist.formula()
: Modified. Fixed a bug with adding the horizontal line at 0 when the user usesplot=FALSE
, which occurs withhist.bootCase()
. -
hyperCI()
: Modified. Now only accepts whole numbers forM
,n
, orm
. Added catch for badconf.level
s and multiple values ofM
,n
, orm
. -
iAddLoessLine()
: Modified. Changed used ofiMakeColor()
tocol2rgbt()
. -
iGetDecimals()
: Modified. Added warning for situations wherex
will be presented in exponential notation. Also returned a decimal of zero in this situation. Helps with a bug inhist.formula()
. -
iHndlCols2use()
: Deleted. Changed toiHndlCols2UseIgnore()
. -
iHndlCols2UseIgnore()
: Added. Previously wasiHndlCols2use()
. 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.” -
iHndlMultWhat()
: Modified. Addedtype=
to allow use withmessage()
orcat()
. -
iPlotExists()
: Added. Helps with bug fix inhist.formula()
. -
is.wholenumber()
: Added. Needed for changes tobinCI()
,hyperCI()
, andpoiCI()
. -
kCounts()
: Modified. Fixed bug withcapitalize=
andzero
. Streamlined code. Added tests. -
metaM()
: Modified. Fixed bug with the way messages were output when multiplemethods
were provided andjustM=FALSE
. Added more tests. -
mrClosed()
: Modified. Addedpoi.type=
to handle new choices for Poisson confidence interals. Added some checks for non-vector uses ofM=
andR=
(partially addresses #22). Fixed bug in how inputs for subgroups were output fromsummary()
whenverbose=TRUE
. -
mrOpen()
: Modified. Changed allmessage()
s insummary()
tocat()
s. Fixed bug where returned value fromsummary()
was not a data.frame if only one parameter was selected. -
nlsTracePlot()
: Added. -
plotBinResp()
: Modified. Changed used ofiMakeColor()
tocol2rgbt()
. -
poiCI()
: Modified. Completely rebuilt to use the functions fromepitools
. Now only accepts whole numbers forx
. -
predict.bootCase()
: Modified. Modified so that situations where other than values of the dependent variable are in the dots argument (as would occur if making predictions for the Francis parameterization of the VBGF). -
predict.nlsBoot()
: Modified. See note forpredict.bootCase()
. -
psdCalc()
: Modified. Fixed bug in output if more than two additional lengths were supplied. -
removal()
: Modified. Added a check and a returned error ifmethod="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 oneparm=
inconfint()
. Added tests. -
residPlot()
: Modified. Addedcex.leg=
andbox.lty.leg=
to IVR plots. Removed extra spaces in main title ifmain="MODEL"
. Added some tests. -
tictactoe()
: Modified. Changed used ofiMakeColor()
tocol2rgbt()
. -
vbFuns()
: Modified. AddedOgle
to list of parameterizations. Changed order ofL0
andK
parameters in returned function whenparam="Original"
. -
vbStarts()
: Modified. Added themethLinf=
argument that allows the user to choose if Linf is estimated from a Walford plot (methLinf="Walford"
; the default and old functionality), as the mean of fish in a certain number of old ages (methLinf="oldAge"
), or as the mean of a certain number of the longest fish (methLinf="longFish"
). The number of ages or long fish is given innum4Linf=
. Added methods fortype="Ogle"
.
FSA 0.8.10
CRAN release: 2016-09-24
-
alkIndivAge()
: Modified. Addedna.rm=TRUE
to the checks on the minimum and maximum length data. -
catchCurve()
: Modified. Removedtype=
and blended that functionality intoparm=
for methods. Madeparm=
consistent across methods. -
chapmanRobson()
: Modified. Addedaxis.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. Addedna.rm=TRUE
to y-range calculation for the plot method. Added acoef()
method. Added aparm=
argument to theconfint()
andsummary()
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). Theparm=
now properly handles negative values. Streamlined plotting results. Added tests. -
depletion()
: Modified. Checked for badconf.level=
inconfint()
method. -
GompertzFuns()
: Modified. Fixed bug related to selectingQuinnDeriso3
. -
htest.nlsBoot()
,htest.bootCase()
. Modified. Theb0
now defaults to 0. Matrix of results now include the parameter as the rowname. Modified the internals of how the data are handled. Added tests. -
iAddLoessLine()
: Modified. Suppressed warnings related to the loess line predictions. -
mrClosed()
: Modified. Checked for badconf.level=
inconfint()
method. -
mrOpen()
: Modified. Checked for badconf.level=
inconfint()
method. -
predict.nlsBoot()
,predict.bootCase()
. Modified. The...
argument can now contain a vector of values such that predictions can be made for multiple values of the independent variable. Modified the output matrix to handle this modification. RemovedMARGIN
as it will always be1
fornlsBoot
andbootCase
objects. Added checks forFUN=
,conf.level=
, anddigits=
. Added tests. -
removal()
: Modified. Checked for badconf.level=
inconfint()
method. Changed internal functions from using a loop to usingapply()
. Changed internal functions from usinglog()
andchoose()
to usinglchoose()
. -
Summarize()
: Modified. Addednvalid=
andpercZero
to only print the nvalid and percZero result if they are “interesting” (i.e., different than n or zero, respectively) by default (may be manually over-ridden). Modified tests. -
vbStarts()
: Modified. Addedna.rm=TRUE
to checking of Linf values.
FSA 0.8.9
CRAN release: 2016-08-23
-
ageComparison()
: Modified. Removed an internal call tofact2num()
because of changes toSummarize()
below. Should not impact user experience. -
diags()
: Added. -
gompertzFuns()
: Modified. Fixed some spacing around the message whenmsg=TRUE
. -
logisticFuns()
: Modified. Fixed some spacing around the message whenmsg=TRUE
. -
Summarize()
: Modified. Removed all uses where the main variable was a factor (this functionality was largely unneeded and unused, was inelegant and difficult to maintain). Removed pass-through tosummary
. Removed warnings about the RHS variables being converted to factors. Columns for “levels” of the RHS variables are now returned in their original model (i.e., if the variable was numeric in the original data.frame it is now numeric in the data.frame returned from this function) – this should reduce need for usingfact2num()
when using the results of this function for variables that were originally numeric. Added more examples and tests for the numeric data.
FSA 0.8.8
CRAN release: 2016-07-18
-
growthFunShow()
: Modified. Added Pauly et al. (1992) seasonal cessation function. Addedcase=
for use with Schnute model. -
vbFuns()
: Modified. Added Pauly et al. (1992) seasonal cessation function. Slightly modified messages for “Typical” and “Original” parameterizations. -
vbStarts()
: Modified. Addedfixed=
so that the user can define some of the starting values. Added Pauly et al. (1992) seasonal cessation function. Added tests forfixed=
.
FSA 0.8.7
CRAN release: 2016-05-08
- Compiled under R v3.3.0.
- Removed
relax
fromSuggests
. SeesrStarts()
andvbStarts()
notes below. This addresses #17. - Removed
gdata
fromImports
. SeefilterD()
andSubset()
notes below. This addresses #5. - Added no coverage blocks to
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()
, andvbStarts()
. -
ageKey()
: Removed. Deprecated since 0.4.24. UsealkIndivAge()
. -
ageKeyPlot()
: Removed. Deprecated since 0.4.24. UsealkPlot()
. -
bcFuns()
: Modified. Changedmsg=
toverbose=
. -
capHistSum()
: Added tests. -
filterD()
: Modified. Changed to usedroplevels()
frombase
rather thandrop.levels()
fromgdata
. Addedexcept=
. -
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. Changedtype=
toparam=
. -
GompertzModels()
: Removed. Replaced withgrowthFunShow()
. -
iGetDecimals()
: Modified. Fixed a bug that occured when an integer was provided. -
lenFreqExpand()
: Removed. Deprecated since 0.4.32. UseexpandLenFreq()
. -
logisticFuns()
: Modified. Changedtype=
toparam=
. -
LogisticModels()
: Removed. Replaced withgrowthFunShow()
. -
residPlot()
: Modified. Changed the way colors, plotting characters, and line types were handled for most of the models. Should make their use more flexible. Now matches coding infitPlot()
. Fixed bug with main titling, but now asks user to decide if they want the model call or not. Started to add tests for error and warning messages. -
RichardsFuns()
: Modified. Changedtype=
toparam=
. -
RichardsModels()
: Removed. Replaced withgrowthFunShow()
. -
growthFunShow()
: Added. -
srFunShow()
: Added. -
srModels()
: Removed. Replaced withsrFunShow()
. -
srStarts()
: Modified. RemoveddynamicPlot=TRUE
option. Moved it toFSAsim
package. Modified plot whenplot=TRUE
by adding “STARTING VALUES” to title and moving starting values to within the plot. Addedcex.main=
andcol.main=
. -
Subset()
: MOdified. Changed to usedroplevels()
frombase
rather thandrop.levels()
fromgdata
. -
vbFuns()
: Modified. Changedtype=
toparam=
. -
vbModels()
: Removed. Replaced withgrowthFunShow()
. -
vbStarts()
: Modified. RemoveddynamicPlot=TRUE
option. Moved it toFSAsim
package. Addedparam=
to match othervbXXX()
(works as doestype=
). Modified plot whenplot=TRUE
by adding “STARTING VALUES” to title and moving starting values to within the plot. Added andcol.main=
. Made warnings and error tests more explicit.
FSA 0.8.6
CRAN release: 2016-03-25
- Fixed problems with tests, and made the tests more explicit, related to PSD and Wr functions. Suppressed some warnings related to
sumTable()
in ALK related tests andSummarize()
in age comparisons tests. Prompted by forthcoming changes totestthat
. - Removed
News.md
from.Rbuildignore
(apparently now supported by CRAN). -
alkPlot()
: Modified. Changed so thatxlim=
andylim=
would work whentype="area"
andtype="bar"
. This fixes #10 (Thanks to Joseph Feldhaus). -
hist.formula()
: Modified. Added thebreaks=
argument (mostly a pass-through) and thew=
argument that allows the user to just set the width of the bins without having to set eachbreak
value. This should complete #15. -
iCheckStartCatW()
: Modified. Now useiGetDecimals()
to extract the number of decimals instartcat
andw
. -
iCheckStartcat()
: Added. -
iCheckW()
: Added. -
iGetDecimals()
: Added. -
lencat()
: Modified. Changed order ofstartcat=
andbreaks=
. Slight modifications to documentation. -
psdAdd()
: Modified. Minor changes to documentation. -
psdPlot()
: Modified. Fixed bug related to PSD values being printed when only PSD-Q existed (needed to adddrop0Est=FALSE
to thepsdCalc()
call; this fixes #13). Made the histogram bars flush with the x-axis rather than hovering above it (addedyaxis="i"
tohist()
; this fixes #12). Minor changes to documentation. -
psdVal()
: Modified. Minor changes to documentation. -
purl2()
: Modified. AddeddelHeader=
argument and functionality.
FSA 0.8.5
CRAN release: 2016-02-14
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 whenNA
values were present. There was an inconsistency between whenwhat="precision"
andwhat="difference"
was used insummary()
. The bug fix now properly divides by the “valid sample size” forwhat="precision"
. This fixes #9 (Thanks to Joseph Feldhaus). Now returnsvalidn
. Modifications to the documentation.histFromSum()
: Added. Addresses #4.metaM()
: Modified. Changed order of methods inmethods=
. Minor corrections and additions to documentation.mrClosed()
: Modified. Now sends warning if anNA
appears in the first position ofm
, the first position ofM
, or the last position ofR
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 toiGetAllDependencis()
based on forthcoming changes topackage.dependencies()
(as notified by CRAN).vbStarts()
: Modified. Fixed bug whendynamicPlot=TRUE
was used.
FSA 0.8.4
CRAN release: 2015-12-21
- Now using Roxygen2 v5.0.1.
- Removed some
requireNamespaces()
from some functions and moved those packages fromSuggests
toImports
so that those functions would work better with other packages. The onlyrequireNamespaces()
that remain are related to functions that require therelax
package (so tcltk is not installed until needed) andknitr
,dunn.test
, andlmtest
as these are unlikely to be used by other packages and will keep the packages that are loaded withFSA
to a minimum. Packages moved fromSuggests
toDepends
areHmisc
(for use inbinCI
),gdata
(for use infilterD()
andSubset()
),dplyr
(for use infilterD()
),sciplot
(for use infitPlot()
),car
(for use inresidPlot()
), andgplots
(for use with colors). -
addZeroCatch()
: Modified tests (to reduce warnings that were not part of tests). -
geomean()
: Added. -
geosd()
: Added. -
lencat()
: Modified. Fixed a bug related to using atbl_df
object. -
sumTable()
: Modified tests (but withdimnames()
).
FSA 0.8.3
CRAN release: 2015-10-23
- Removed vignetteBuilder from DESCRIPTION (remnant from a vignette I built and then removed) at request of CRAN.
FSA 0.8.2
- Date: 22-Oct-15
- Converted all files in
data-raw
to CSV files. - Removed all
\href{}{}
and\url{}
codes to websites that I don’t control. The addresses are now “naked” such that the user will need to copy-and-paste them into a browser to view the web page rather than clicking on a hyper link. Hopefully this will eliminate problems with R CMD CHECK. -
ChinookArg
: Updated help documentation. -
Ecoli
: Added a Topics section. -
Mirex
: Added a Topics section. -
PikeNYPartial1
: Updated help documentation. -
SpotVA1
: Updated help documentation.
FSA 0.8.0 8
CRAN release: 2015-10-08
- Added suggests for
dunn.test
for use indunnTest()
(see below). -
agePrecision()
: Modified. Changedcombn()
toutils::combn()
andsd()
toutils::sd()
(within anapply()
). -
catchCurve()
: Modified. Changedna.exclude()
tostats::na.exclude()
. -
dunnTest()
: Modified. Changed to more throughly usedunn.test()
fromdunn.test
. Added thetwo.sided=
argument todunnTest()
anddunn.test.results=
toprint.dunnTest()
. -
expandLenFreq()
: Modified. Changedrunif()
tostats::runif()
. -
extraSS()
: Modified. Changedanova()
tostats::anova()
in anlapply()
. -
fishR()
: Modified. ChangedbrowseURL()
toutils::browseURL()
. -
fsaNews()
: Modified. ChangedbrowseURL()
toutils::browseURL()
. -
headtail()
: Modified. Changedhead()
toutils::head()
andtail()
toutils::tail()
. -
hist.bootCase()
: Modified. Changedhist()
tohist.formula()
. -
iAgeBiasPlot()
: Modified. ChangedgrconvertY()
tographics::grconvertY()
. -
iALKMean.QD()
: Modified. Changedvar()
tostats::var()
(withinsumTable()
). -
iBubblesAdd()
: Modified. Changedrgb()
togrdevices::rgb()
. -
iChkComplexModel()
: Modified. Changeddf.residual()
tostats::df.residual()
. -
iCIboot()
: Modified. Changedhist()
tohist.formula()
. -
iEvent2Indiv()
: Modified. Changedunstack()
toutils::unstack()
. -
iGetAllDependencies()
: Modified. Changedinstalled.packages()
toutils::installed.packages()
. -
iHistResids()
: Modified. Removedgraphics::hist()
and changed tohist.formula()
. -
iHndlFormula()
: Modified. Changedterms()
tostats::terms()
. -
iHndlResidType()
: Modified. Changedrstandard()
tostats::rstandard()
andrstudent()
tostats::rstudent()
. -
iHtestBoot()
: Modified. Removedgraphics::hist()
and changed tohist.formula()
. -
iMakeColor()
: Modified. Changedrgb()
togrdevices::rgb()
. -
iMakeModelHeading()
: Modified. Changedformula()
tostats::formula()
(within anlapply()
). -
iMoran()
: Modified. Changedoptimize()
togrdevices::optimize()
. -
iProcessSessionInfo()
: Modified. Changedsessioninfo()
toutils::sessioninfo()
. -
iSchnute()
: Modified. Changedoptimize()
togrdevices::optimize()
. -
iTypeoflm()
: Modified. Changedformula()
tostats::formula()
. -
plot.AgeBias()
: Modified. Changedrgb()
togrdevices::rgb()
. -
plot.CatchCurve()
: Modified. Changedpredict()
tostats::predict()
. -
print.extraTest()
: Modified. ChangedprintCoefMat()
tostats::printCoefMat()
. -
psdAdd()
: Modified. Changeddata()
toutils::data()
. -
psdVal()
: Modified. Changeddata()
toutils::data()
. -
reproInfo()
: Modified. Changedgraphics.off()
togrdevices::graphics.off()
. -
removal()
: Modified. Removed some of the examples from the help page to reduce the elapsed time for CRAN. -
vbStarts()
: Modified. Changedrgb()
togrdevices::rgb()
. -
wrAdd()
: Modified. Changeddata()
toutils::data()
. -
wsVal()
: Modified. Changeddata()
toutils::data()
. -
test_AgeLengthKey
: Modified. Altered tests that had used==
to useexpect_equivalent()
which usesall.equal()
withcheck.attributes=FALSE
. -
test_PSD
: Modified. Altered tests that had used==
to useexpect_equivalent()
which usesall.equal()
withcheck.attributes=FALSE
.
FSA 0.7.11
- Date: Oct15
- Converted all
.txt
files to.Rda
files. Original.txt
files are in thedata-raw
directory which was added to.Rbuildignore
.
FSA 0.7.10
- Date: Oct15
-
purl2()
: Addednewname=
to allow the output file to have a name other than the same as the intput file. -
reproInfo()
: Addedmarkdown
to theout=
types.
FSA 0.7.9
- Date: Sep15
- Updated
README.md
andDESCRIPTION
for new websites. - Changed all references to the WordPress site to the new website. Removed links to specific IFAR chapters. Changed my e-mail address. Created link in references to IFAR book page.
-
fishR()
: Modified. Updated for the new websites.
FSA 0.7.8
- Date: Sep15
-
ageComparison()
: Modified. Changedwhat="McNemars"
andwhat="Bowkers"
towhat="McNemar"
andwhat="Bowker"
. Fixed bug if all ages areNA
. -
catchCurve()
: Modified. Fixed bug related toNA
values in the catch vector. -
chapmanRobson()
: Modified. Fixed bug related toNA
values in the catch vector. -
validn()
: Modified. Fixed bug related to when a 1-dimensional numeric vector was not recognized as a vector.
FSA 0.7.7
- Date: Aug15
-
ageBias()
: Modified. Changed default forpch.mean=
to 95 (from 175). Ifwhat=
has only one item, then results will now be invisibly returned so that results can be saved to an object. -
agePrecision()
: Modified. Addedtrunc.diff=
. Ifwhat=
has only one item, then results will now be invisibly returned so that results can be saved to an object. -
mapvalues()
: Modified. Corrected to export properly. -
removal()
: Modified. Minor edits to labels ifverbose=TRUE
. Added some more tests. -
vbStarts()
: Modified. MadeyngAge
the default formeth0=
. Fixed bug that occured whenmeth0='yngAge'
and sample sizes at all ages were 1.
FSA 0.7.6
- Date: Aug15
-
Summarize()
: Modified. Converted to usingiHndlFormula()
. Changed output for quantitative data (validn
is always returned,NAs
is never returned). Changed output for two-way factor data (not returned as a character fromformatC()
). Removed...
from code in several places as it was buggy and not used. Added more checks and modified check messages. Fixed bug from when a 1-d matrix of characters was sent. Added tests. -
sumTable()
: Modified. Converted to usingiHndlFormula()
. Added tests.
FSA 0.7.5
- Date: Aug15
-
addRadCap()
: Modified. Streamlined code. Changed defaultin.pre=
toNULL
(frominc
). Added some tests for returned data. -
BluegillLM
: Removed. Moved toFSAdata
. -
gConvert()
: Modified. Streamlined code. Changedtype=
toout.type=
. Changed defaultin.pre=
andin.var=
toNULL
(from missing). Changed code to handle changes inin.pre=
andin.var=
. Added some tests for returned data. -
gReshape()
: Removed. Moved toFSAmisc
.
FSA 0.7.4
- Date: Aug15
-
binCI()
: Modified. Check forHmisc
withrequireNamespaces()
before processing body of function. This allowed movingHmisc
intoSuggests
declarations rather thanImports
. -
chooseColors()
: Modified. Check forgplots
withrequireNamespaces()
before processing body of function. This allowed movinggplots
intoSuggests
declarations rather thanImports
. -
filterD()
: Modified. Check fordplyr
andgdata
withrequireNamespaces()
before processing body of function. This allowed movingdplyr
andgdata
intoSuggests
declarations rather thanImports
. -
fitPlot()
: Modified. Check forsciplot
withrequireNamespaces()
before adding intervals tot he plot. This allowed movingsciplot
intoSuggests
declarations rather thanImports
. -
lrt()
: Modified. Check forlmtest
withrequireNamespaces()
before processing body of function. This allowed movinglmtest
intoSuggests
declarations rather thanImports
. -
mapvalues()
: Modified. Changed so that it is a directimportFrom
andexport
without creating a help file inFSA.
-
purl2()
: Modified. Check forknitr
withrequireNamespaces()
before processing body of function. This allowed movingknitr
intoSuggests
declarations rather thanImports
. -
residPlot()
: Modified. Check forcar
withrequireNamespaces()
before highlighting outliers on the plot. This allowed movingsciplot
intoSuggests
declarations rather thanImports
. -
srStarts()
: Modified. Check forrelax
withrequireNamespaces()
before constructing the dynamic plot. This allowed movingrelax
intoSuggests
declarations rather thanImports
. -
Subset()
: Modified. Check forgdata
withrequireNamespaces()
before processing body of function. This allowed movinggdata
intoSuggests
declarations rather thanImports
. -
vbStarts()
: Modified. Check forrelax
withrequireNamespaces()
before constructing the dynamic plot. This allowed movingrelax
intoSuggests
declarations rather thanImports
.
FSA 0.7.3
- Date: Aug15
- Removed all
importFrom()
directives and went to hard-wiring to packages with::
. Addedimports()
directives forstats
,graphics
,tools
, andgrDevices
. Removedimports()
directive formultcomp()
. -
vbStarts()
: Modified. Changed default methos formethEV=
. Changed order of starting values fortype="Mooij"
in order to match that fromvbFuns()
. This also fixed a bug whendynamicPlot=TRUE
was used withtype="Mooij"
. Added tests to determine if parameter order is the same betweenvbStarts()
andvbFuns()
for all parameterizations.
FSA 0.7.2
- Date: Jul15
-
ageBias()
: Modified. Corrected bug with labeling of x-axis on age-bias plot whenref.lab=
andnref.lab=
were not given by the user. Changed default fornYpos=
from1.1
to1.03
. Addedcex.n=
to allow control of the size of the sample size labels. -
agePrecision()
: Modified. Changedwhat="detail"
towhat="details"
. Note thatwhat="detail"
still works. -
dunnTest()
: Modified. Added a note to the help file about the use of complete cases. Suggested from Paule Bodson-Clermont. -
vbFuns()
: Modified. AddedOriginal
andTypical
to thetype=
options. This allows both a capitalized and uncapitalized version for these two parameterizations. -
vbModels()
: Modified. Changed order ofOriginal
andTypical
(Typical
is now shown first). Fixed in error in how the equation for theWeisberg
parameterization was displayed. -
vbStarts()
: Modified. Addedcex.main=
as an argument and defaulted to0.75
. Addedraw=TRUE
topoly()
which is used whenmeth0="poly"
. AddedOriginal
andTypical
to thetype=
options. This allows both a capitalized and uncapitalized version for these two parameterizations.
FSA 0.7.1
- Date: Jul15
-
ageBias()
: Modified. Moved into a single file withagePrecision()
. Cleaned-up help file. No change in behavior. -
agePrecision()
: Modified. Moved into a single file withageBias()
. Cleaned-up help file. No change in behavior. -
alkAgeDist()
: Modified. Moved into a single file withalkMeanVar()
. Cleaned-up help file. Added some error/warning tests. No change in behavior. -
alkIndivAge()
: Modified. Clean-up help file. Added a stronger test fortype="SR"
method. No change in behavior. -
alkMeanVar()
: Modified. Moved into a single file withalkAgeDist()
. Cleaned-up help file. No change in behavior. -
alkPlot()
: Cleaned-up help file and tests. No change in behavior. -
confint.bootCase()
: Modified. Created a common internal function for use withconfint.nlsBoot()
. Added the ability to plot histograms with confidence intervals superimposed (similar to what was inconfint.nlsBoot()
). -
confint.nlsBoot()
: Modified. Created a common internal function for use withconfint.bootCase()
. -
GompertzFuns()
: Moved intogrowthModels
file. Did not change behavior. -
gompertzModels()
: Modified. Changedtype=
tofamily=
to avoid confusion in the help file withtype=
ingompertzFuns()
. Moved intogrowthModels
file. -
growthRadPlot()
: Deleted. Moved toFSAmisc
package. -
hist.formula()
: Modified. Fixed so thatymax=
also sets the y-axis limit when only one histogram is made (it was previously ignored). -
htest.bootCase()
: Modified. Created a common internal function for use withhtest.nlsBoot()
. -
htest.nlsBoot()
: Modified. Created a common internal function for use withhtest.bootCase()
. -
iHndlFormula()
: Modified. Addedna.action=NULL
tomodel.frame()
so that NA values will not be omitted. -
logisticFuns()
: Moved intogrowthModels
file. Did not change behavior. -
logisticModels()
: Modified. Changedtype=
tofamily=
to avoid confusion in the help file withtype=
inlogisticFuns()
. Moved intogrowthModels
file. -
predict.bootCase()
: Modified. Created a common internal function for use withpredict.nlsBoot()
. -
predict.nlsBoot()
: Modified. Created a common internal function for use withpredict.bootCase()
. -
psdAdd()
: Modified. Fixed bug that never tested if all lengths wereNA
. Required change toiHndlFormula
. -
RichardsFuns()
: Moved intogrowthModels
file. Changedparam=
totype=
to better match similar functions. -
RichardsModels()
: Moved intogrowthModels
file. Did not change behavior. -
Schnute()
: Moved intogrowthModels
file. Changedparam=
totype=
to better match similar functions. -
SchnuteModels()
: Moved intogrowthModels
file. Did not change behavior. -
vbFuns()
: Moved intogrowthModels
file. Did not change behavior. -
vbModels()
: Modified. Changedtype=
tofamily=
to avoid confusion in the help file withtype=
invbFuns()
. Moved intogrowthModels
file.
FSA 0.7.0
- Date: Jul15
- Fixed description to be in title case.
- Fixed reference to fishR page in description file.
- Fixed several URL references, deleted others that have changed and are no longer available.
- Updated CITATION file (to remove CRAN note).
-
hist.formula()
: Modified. Rebuilt to useiHndlFormula()
. Modified howxlab=
is used (result is the same). Added some tests. -
ksTest()
: Modified. Rebuilt to useiHndlFormula()
. Added some tests for messages and to make sure results matchedks.test()
.
FSA 0.6.25
- Date: Jul15
-
alkPrep()
: Deleted. Moved toFSAmisc
package (on GitHub). -
changesPos()
: Deleted. Moved toFSAmisc
package (on GitHub). -
chapmanPlot()
: Deleted. Moved toFSAmisc
package (on GitHub). -
dietOverlap()
: Deleted. Moved toFSAmisc
package (on GitHub). -
Garvey1
: Deleted. Moved toFSAmisc
package (on GitHub). -
Garvey4a
: Deleted. Moved toFSAmisc
package (on GitHub). -
KS2D_NR
: Deleted. Moved toFSAmisc
package (on GitHub). -
ks2d1()
: Deleted. Moved toFSAmisc
package (on GitHub). -
ks2d1p()
: Deleted. Moved toFSAmisc
package (on GitHub). -
ks2d2()
: Deleted. Moved toFSAmisc
package (on GitHub). -
ks2d2p()
: Deleted. Moved toFSAmisc
package (on GitHub). -
popSizesPlot()
: Deleted. Moved toFSAmisc
package (on GitHub). -
posadj()
: Deleted. Moved toFSAmisc
package (on GitHub). -
TroutDietSL
: Deleted. Moved toFSAmisc
package (on GitHub). -
walfordPlot()
: Deleted. Moved toFSAmisc
package (on GitHub).
FSA 0.6.24
- Date: Jun15
-
alkIndivAge()
: Modified. Switched to usingiHndlFormula()
at the beginning. Added more checks and tests. -
expandLenFreq()
: Modified. Added more checks. Added some tests. -
wsVal()
: Modified. Added more tests.
FSA 0.6.22
- Date: Jun15
-
extraSS()
: Modified. Addedsim.name=
to allow for a common typing mistake. -
logbtcf()
: Modified. Slight change to handle a check oflm
class. -
lrt()
: Modified. Addedsim.name=
to allow for a common typing mistake. -
pcumsum()
: Modified. Modified to handletable
,matrix
, anddata.frame
classes as long as they are 1-dimensional. -
rcumsum()
: Modified. Modified to handletable
,matrix
, anddata.frame
classes as long as they are 1-dimensional. -
srStarts()
: Modified. Corrected some bugs related to checks. Added more tests.
FSA 0.6.21
- Date: Jun15
-
addRadCap()
: Modified. Modified so thatin.pre=
string must be at the start of the variable names. Added a check for when thein.pre=
string does not exist at the start of any variable names. Added a check for whether allin.var=
variables exist. Added some simple tests (need more). -
bcFuns()
: Modified. Removedtype=
;BCM=
can now be either numeric or a string. Allowed string to be in any case (will be converted to the required all upper-case). Corrected some errors for whenmsg=TRUE
. Added some simple tests. -
gConvert()
: Modified. Modified so thatin.pre=
string must be at the start of the variable names. Added a check for when thein.pre=
string does not exist at the start of any variable names. Added some simple tests (need more). -
gReshape()
: Modified. Modified so thatin.pre=
string must be at the start of the variable names. Added a check for when thein.pre=
string does not exist at the start of any variable names. Added some simple tests (need more).
FSA 0.6.20
- Date: Jun15
-
gompFuns()
: Deleted. -
gompModels()
: Deleted. -
GompertzFuns()
: Added. ReplacedgompFuns()
. Addedtype="Troynikov1"
andtype="Troynikov1"
. -
GompertzModels()
: Added. ReplacedgompModels()
. Addedcex=
andtype=
. -
logisticFuns()
: Modified. Changedtype="Richards"
totype="Karkach"
. Addedtype=HaddonI
. -
logisticModels()
: Modified. Added “Karkach” model. Addedcex=
andtype=
. -
RichardsFuns()
: Modified. Added two more parameterizations from Tjorve and Tjorve (2010). -
schnute()
: Deleted. -
schnuteModels()
: Deleteed. -
Schnute()
: Added. Replacedschnute()
. Fixed bugs with the wayt1=
andt3=
are handled. -
SchnuteModels()
: Added. ReplacedschnuteModels()
. Addedcex=
. -
vbFuns()
: Modified. Addedtype="Polacheck"
which is equivalent totype="Laslett"
. Added a new reference in the help file. -
vbModels()
: Modified. Addedcex=
andtype=
.
FSA 0.6.19
- Date: Jun15
-
RichardsFuns()
: Added. -
RichardsModels()
: Added.
FSA 0.6.18
- Date: Jun15
- Changed nearly all “messages” using
cat()
to usingmessage()
so that they can be suppressed withsuppressMessage()
ormessage=FALSE
in knitr. See “One comment on messages” at http://yihui.name/knitr/demo/output/. Specific functions modified are listed below. -
ageBias()
: Modified. Changed allcat()
tomessage()
s. Changed so that messages (result headers) are only printed ifwhat=
contains more than one item. -
agePrecision()
: Modified. Changed allcat()
tomessage()
s. Changed so that messages (result headers) are only printed ifwhat=
contains more than one item. -
bcFuns()
: Modified. Changed allcat()
tomessage()
s. -
chapmanRobson()
: Modified. Changed allcat()
tomessage()
s. Deleted “Estimates with Standard Errors” message. -
depletion()
: Modified. Changed allcat()
tomessage()
s. -
dietOverlap()
: Modified. Changed allcat()
tomessage()
s. Slightly modified messages. -
expandLenFreq()
: Modified. Changed allcat()
tomessage()
s. Fixed bug with one of the messages. -
ks2d1()
: Modified. Rewrote theprint()
method. This removed a number ofcat()
s. -
ks2d1p()
: Modified. Rewrote theprint()
method. This removed a number ofcat()
s. -
ks2d2()
: Modified. Rewrote theprint()
method. This removed a number ofcat()
s. -
ks2d2p()
: Modified. Rewrote theprint()
method. This removed a number ofcat()
s. -
metaM()
: Modified. Changed allcat()
tomessage()
s. -
mrOpen()
: Modified. Changed allcat()
tomessage()
s. -
removal()
: Modified. Changed allcat()
tomessage()
s. -
srFuns()
: Modified. Changed allcat()
tomessage()
s. Created some tests.
FSA 0.6.17
- Date: Jun15
-
extraSS()
: Modified. Added more message tests and some calculational tests (compared toanova()
results). -
gompFuns()
: Modified. Changed allcat()
s tomessage()
s and slightly modified the messages. Fixed minor bugs in some created functions. Created some tests. -
logisticFuns()
: Modified. Changed allcat()
s tomessage()
s and slightly modified the messages. Fixed minor bugs in some created functions. Created some tests. -
lrt()
: Modified. Added more message tests and some calculational tests (compared tolrtest()
fromlmtest
package results). -
vbFuns()
: Modified. Changed allcat()
s tomessage()
s and slightly modified the messages. Fixed minor bugs in some created functions. Created some tests.
FSA 0.6.16
- Date: Jun15
-
extraSS()
: Modified. Addedsim_names=
andcom_name=
so that simple descriptive names could be given to the model and printed in the heading of the output. Added checks for whether the complex model appears more complex or not. Added tests for warning and error messages. -
fishR()
: Modfiied. Fixed bug withwhere="news"
. Added tests. -
fitPlot()
: Modified. Added ability to modify y-axis limits for the nonlinear regression model. Thanks to Gabriela N. for asking for this. -
hoCoef()
: Modified. Changedlmobj=
toobject=
, added degrees-of-freedom to the output matrix, streamlined the code, added some checks, and added some tests. -
lrt()
: Modified. Addedsim_names=
andcom_name=
so that simple descriptive names could be given to the model and printed in the heading of the output. Added checks for whether the complex model appears more complex or not. Added tests for warning and error messages.
FSA 0.6.15
- Date: Jun15
-
addZeroCatch()
: Modified. Deleted extraneousprint()
statement. -
lencat()
: Modified. Major re-write to make it easier to trouble-shoot. Fixed bug related to empty category on end whenas.fact=TRUE
anduse.names=TRUE
. Added more tests. -
psdCalc()
: Modified. Removed extra open-ended category (e.g., PSD-T-) for PSD intervals.
FSA 0.6.14
- Date: May15
- Added travis-ci integration.
- Added coveralls integration.
- Added
importFrom
formapvalues()
fromplyr
. -
changesPos()
: Modified. Added some checks with error messages. Added suite of tests. -
chooseColors()
: Modified. Added some checks with error messages. Added suite of tests. -
confint.nlsBoot()
:Modified. Fixed bug if maximum number inparm=
was greater than the number of parameters in the model. -
dunnTest()
: Modified. Change class type fromDunnTest
todunnTest
to eliminate conflict withDunnTest()
inDescTools
package. Thanks to Sal Mangiafico for pointing out this conflict. -
fact2num()
: Modified. Added some checks with error messages. Added suite of tests. -
filterD()
: Modified. Changed to usingdrop.levels
fromgdata
rather thandroplevels
. Added a warning if the resultant data.frame has zero rows (same as inSubset
). Added some checks with error messages. Added suite of tests. -
fitPlot()
: Modified. Replaced the use ofnobs()
fromgdata
in the internal functioniCIfp1()
withvalidn()
. This removed one dependency ongdata
. -
headtail()
: Modified. Internally removetbl_df
class (fromdplyr
) if it exists. Added some checks with error messages. Added suite of tests. -
lagratio()
: Modified. Corrected incorrect explanation ofdifferences=
in help file. Addedrecursion=
anddirection=
. Added suite of tests. -
mapvalues()
: Deleted. Deleted the function fromFSA
but imported it fromplyr
and then exported it fromFSA
so that it would be available to fisheries users without having to loadplyr
. -
oddeven()
: Modified. Added some checks with error messages. Added suite of tests. -
perc()
: Modified. Added ability to use “and equals” or not to the items indir=
(i.e., there are now four items indir=
). Fixed a bug related to usingna.rm=FALSE
and a “less than” situation. Added some checks with error messages. Added suite of tests. -
pcumsum()
: Modified. Added some checks with error messages. Added suite of tests. -
rcumsum()
: Modified. Added some checks with error messages. Added suite of tests. -
se()
: Modified. Added some checks with error messages. Added suite of tests. -
Subset()
: Modified. Added some checks with error messages. Added suite of tests. -
validn()
: Modified. Added some checks with error messages. Added suite of tests.
FSA 0.6.13
- Date: May15
- Some miscellaneous reorganizations of files.
-
ageBias()
: Modified. Corrected bugs withshow.pts=TRUE
and “sunflower plot” that came from changes made in version 0.5.1. -
residPlot()
: Modified. Deletedstudent=
. Addedresid.type=
which allows used of standardized (internally studentized) and (externally) studentized residuals for linear models (along with raw residuals). Added code followingnlsResiduals()
fromnlstools
for standardized residuals for nonlinear models.
FSA 0.6.12
- Date: May15
-
gompFuns()
: Added. -
gompModels()
: Added. -
logisticFuns()
: Added. -
logisticModels()
: Added. -
reproInfo()
: Modified. Added theout=
argument to allow the output to be straight R or LaTeX. Removed thelistFiles=
argument. Changed the output to be more succinct. Streamlined the code. -
vbFuns()
: Modified. Fixed a bug with the Laslett model.
FSA 0.6.11
- Date: Apr15
-
kCounts()
: Added. WasswvCounts()
. -
kPvalue()
: Added. WasswvPvalue()
. -
purl2()
: Added. WasswvCode()
. Addedtimestamp=
argument for adding a timestamp to the created script. -
reproInfo()
: Added. WasswvFinish()
. -
swvANOVA()
: Deleted. Moved toNCStats
. -
swvCode()
: Deleted. Changed topurl2()
. -
swvCounts()
: Deleted. Changed tokCounts()
. -
swvFinish()
: Deleted. Changed toreproInfo()
. -
swvGLHT()
: Deleted. Moved toNCStats
. -
swvHtest()
: Deleted. Moved toNCStats
. -
swvPvalue()
: Deleted. Changed tokPvalue()
. -
swvREG()
: Deleted. Moved toNCStats
.
FSA 0.6.10
- Date: Apr15
- Compiling under R 3.2.0.
- Added some cross-reference links to help files.
- Remove fishR vignette section and added IFAR Chapter section to help files.
-
fishR()
: Modified. AddedIFAR
as an option. Updated code to be more simple.
FSA 0.6.5
- Date: Apr15
- Last version for submission of first draft of Introductory Fisheries Analyses with R.
-
capHistConvert()
: Modified. Added a warning section and an example of problems that can occur if the data are in event format but the event variable contains unused levels as may occur following subsetting. Thanks to Joseph Feldhaus for pointing out this problem. -
extraSS()
: Modified. Changed algorithm to determine if the models were of the same class or not. The modification allows a model to have multiple classes. -
iHndlCols2Use
(Intrnal Function): Modified. Fixed bug with how the columns were selected. Added a suite of tests for this function. This will fix bugs incapHistConvert()
andcapHistSum()
. Thanks to Joseph Feldhaus for pointing out this egregious error. -
lrt()
: Modified. Changed algorithm to determine if the models were of the same class or not. The modification allows a model to have multiple classes.
FSA 0.6.3
- Date: Apr15
- Some modifications to tests.
-
plot.capHist()
: Modified. Changed default plot look which can now be controlled withpch=
,cex.pch=
, andlwd=
. Modified the two y-axis scales to useplotmath
characters.
FSA 0.6.2
- Date: Mar15
-
capHistConvert()
: Modified. Streamlined code around creatingvar.lbls
. Madeevent
the default value forvar.lbls.pre=
. Added some checks tovar.lbls.pre=
if it starts with a number or has too many values. Addedcols2use=
and modified use ofcols2ignore=
viaiHndlCols2use()
. -
capHistSum()
: Modified. -
iHndlCol2use()
: Added. Added this internal function to handlecols2use=
andcols2ignore=
incapHistConvert()
andcapHistSum()
.
FSA 0.6.1
- Date: Mar15
-
catchCurve()
: Modified. Changed howages2use=
was handled so that negative values can be used to exclude some ages. Will also now send an error if a mix of positive and negative ages are sent inages2use=
. Better handled the situation whereages2use=
had more ages than theage
variable. Checked for non-positive weights ifweighted=TRUE
and returned a warning and changed the non-positive weights to the minimum of the positive weights. -
chapmanRobson()
: Modified. Changed howages2use=
was handled so that negative values can be used to exclude some ages. Will also now send an error if a mix of positive and negative ages are sent inages2use=
. Better handled the situation whereages2use=
had more ages than theage
variable. -
expandCounts()
: Modified. Changed so that ``message()’’s are printed at the end instead of along the way. This reduces confusion of what appear to be messages of success followed by an error. Thanks to Dan Oele bringing this confusion to my attention. -
plotBinResp()
: Modified. Changed the way the breaks were calculated (useslencat()
now).
FSA 0.6.0
- Date: Mar15
- updated DESCRIPTION file (following this – http://r-pkgs.had.co.nz/description.html
-
srFuns()
: Modified. Changed function returned whensimplify=FALSE
so that if the parameters are named that the name is dropped. Thus, when the function is used, the returned result will not be annoyingly named as the first parameter. Added functionality for the “density-independence” model. -
srStarts()
: Modified. Added functionality for the “density-independence” model. -
vbFuns()
: Modified. Changed function returned whensimplify=FALSE
so that if the parameters are named that the name is dropped. Thus, when the function is used, the returned result will not be annoyingly named as the first parameter.
FSA 0.5.3
- Date: Mar15
-
growthModelSim()
: Deleted. The simulation functionality was moved to theFSAsim
package. The functionality related to finding starting values for the von Bertalanffy modesl was moved tovbStarts()
. -
srFuns()
: Modified. A complete rebuild to make similar tovbFuns()
. Addedsimple=
. Addedtype='Shepherd'
for the Shepherd (1982) three parameter model andtype='SailaLorda'
for the “Saila-Lorda” three parameter model from Iles (1994). Added tests for error messages. -
srModels()
: Modified. A complete rebuild to make similar togrowthModels()
. Added “Shepherd” and “Saila-Lorda” models. -
srSims()
: Deleted. The simulation functionality was moved to theFSAsim
package. The functionality related to finding starting values was moved tosrStarts()
. -
srStarts()
: Modified. A complete rebuild to streamline. Removed default method (i.e., a formula must be used now). Added “Shepherd” and “Saila-Lorda” models. Modified plotting routine, including addingcol.mdl=
,lwd.mdl=
, andlty.mdl=
. Moved the dynamic modeling aspects ofsrSim()
into this function and is called with the new argumentdynamicPlot=TRUE
. Also addedminmax.ratio=
anddelta.prop=
for use with the dynamic plots. -
vbStarts()
: Modified. A complete rebuild to streamline and fix some bugs that had not been found. Modified plotting routine, including addingcol.mdl=
,lwd.mdl=
, andlty.mdl=
. Also added all of the von Bertalanffy parameterizations ingrowthModelSim()
into this function and is called with the new argumentdynamicPlot=TRUE
. Added dynamics plots for the “Francis” and “Schnute” parameterizations.
FSA 0.5.2
- Date: Mar15
-
psdPlot()
: Modified. Fixed bug related toNA
s inmax.brks
variable.
FSA 0.5.1
- Date: Mar15
-
ageBias()
: Modified. Reversed the order of the formula … it is nownrefvar~refvar
. This more closely matches other R functions where the tilde may be interpreted as the word “by”. In other words, the formula now reads as “nonreference variable by reference variable” (i.e., Y by X). Thanks for Richard McBride for the suggestion. Modified the age-bias plot extensively … addedsfrac=
and defaulted to 0 to remove ends of the confidence intervals, addedcex.mean=
to control the size of the symbol for the mean point, addedlwd=
that will controland set all of thelwd
defaults to 1. -
agePrecision()
: Modified. Changed all “CV” results to “ACV”.
FSA 0.4.51
- Date: Mar15
-
catchCurve()
: Modified. Updated the help file regardingzmethod="Smithetal"
.
FSA 0.4.50
- Date: Mar15
-
capFirst()
: Modified. Added a check to make sure the inputted object was either a character or factor class. Added code to return the object as the same class of the original object. -
lencat()
: Modified. Added a catch for bad choices of arguments. Added a catch to send a warning if the vector contains allNA
values (this happens whenlencat()
is used within a loop or as part ofpsdAdd()
). Added tests for error and warning messages. Changed how the formula was handled in the formula method. -
psdAdd()
: Modified. Fixed a bug with names when using labels. Addedverbose=
. Added catches and sent messages ifverbose=TRUE
for when no Gabelhouse lengths are know for a species and if the lengths for a species are all missing (see note forlencat()
above). -
PSDlit
: Modified. Fixed the trophy length for White Bass (from 15 to 18). This solved a bug related to non-unique breaks.
FSA 0.4.49
- Date: Mar15
-
expandCounts()
: Modified. Made message regarding rows with zero counts more useful. Added missing counts to the catch of zero counts. Made changes to handle more “odd” data entries (see “details” in the help file). Made some tests. Added some tests.
FSA 0.4.48
- Date: Mar15
-
psdCalc()
: Modified. Corrected “bug” withunits=
. Also modified warning message when no “stock” fish were present in the data.frame to further note whatunits=
were used (i.e., this problem is likely to happen if the data is inches but the user uses the defaultunits='mm'
). Thanks to S. Mather for inspring this fix.
FSA 0.4.47
- Date: Feb15
-
dunnTest()
: Modified. Corrected “bug” in the order that the groups are subtracted (i.e., they were flipped).
FSA 0.4.46
- Date: Feb15
-
catchCurve()
: Modified. Changed default forpos.est=
totopright
. Addedcex.pos=
(and set default to slightly smaller value). -
chapmanRobson()
: Modified. Changed default forpos.est=
totopright
. Addedcex.pos=
(and set default to slightly smaller value).
FSA 0.4.45
- Date: Feb15
-
hist.formula()
: Modified. Changed use ofpar()
to eliminate modifications to the gridding of plots after the function is complete. Also removed the setting ofmar=
andmgp=
inpar()
. -
mrOpen()
: Modified. Removed pretty printing forsummary()
andconfint()
methods. These got in the way of being able tocbind()
the results together for a succinct display. -
residPlot()
: Modified. Changed use ofpar()
to eliminate modifications to the gridding of plots after the function is complete.
FSA 0.4.44
- Date: Feb15
-
.onAttach()
: Modified. Centered the message and adjusted for different lengths of version numbers. -
alkPlot()
: Modified. Fixed bug when usingadd=TRUE
withtype="bubble"
. -
capHistSum()
: Modified. Changed to returnpar()
options to what they were before the function was called. -
catchCurve()
: Modified. Changedplot()
to default to slighly lighter colored dots and a black line. -
chapmanRobson()
: Modified. Changedplot()
to default to slighly lighter colored dots. Changed to returnpar()
options to what they were before the function was called. -
growthModelSim()
: Modified. Changed to returnpar()
options to what they were before the function was called. -
growthRadPlot()
: Modified. Changed to returnpar()
options to what they were before the function was called. -
hist.formula()
: Modified. Changed to returnpar()
options to what they were before the function was called. -
lwCompPreds()
: Modified. Changedquant.lens=
toqlens=
. Changed defaultqlens=
to have the 5th and 95th percentiles rather than the minimum and maximum values. Addedqpens.dec=
so that the user could control the number of decimals for the lengths derived fromqlens=
. -
srSim()
: Modified. Changed to returnpar()
options to what they were before the function was called.
FSA 0.4.42
- Date: Feb15
-
filterD()
: Added.
FSA 0.4.41
- Date: Jan15
-
catchCurve()
: Modified. Removed the use of larger points in theplot()
. -
chapmanRobson()
: Modified. Removed the use of larger points in theplot()
. -
metaM()
: Modified. Deletedgroup=
(and createdmethod="ZhangMegreyD"
andmethod="ZhangMegreyP"
). Added geometric mean regresson methods for Hoenig. Changed default forjustM=
toTRUE
. Fixed several minor bugs from the original implementation. Added some checks for reasonableness of some arguments. Created tests for several methods to see if the results matched those from Kenchington (2014). Added code to compute with several methods at once. -
Mmethods()
: Added. Added as a function and removed as a vector.
FSA 0.4.40
- Date: Jan15
-
lencat()
: Modified. Fixed a bug that occurred ifbreaks=
were given but the vector containedNA
s. Thanks to Ben Neely for pointing this out.
FSA 0.4.39
- Date: Jan15
-
catchCurve()
: Modified. Changeduse.weights=
toweighted=
. Added some checks for the formula in the formula version and for the variables in the default version. Add unit tests for warnings and errors and tow tests for values. -
chapmanRobson()
: Modified. Added themethod="Smithetal"
methodology for estimating the SE of Z (and made it the default). Added some checks for the formula in the formula version and for the variables in the default version. Addedverbose=
tosummary()
. Add unit tests for warnings and errors and two tests for values.
FSA 0.4.37
- Date: Jan15
-
confint.nlsBoot()
: Modified. Changed default forerr.col=
toblack
fromred
. Fixed example due to changes innlsBoot
package. -
extraSS()
: Modified. Added a catch to make sure all models are of the same type. Added a catch to note that the function does not work with other thatlm()
ornls()
models. Fixed a bug related to the labels for results fromanova()
being different depending on whetherlm()
ornls()
models were given. Added some examples. -
hist.formula()
: Modified. Fixed bug (originated in last version) that nothing was returned when only one histogram was constructed. -
lrt()
: Modified. Changed call tolrtest()
to a call tolrtest.default()
. Added a catch to make sure all models are of the same type. Note that degrees-of-freedom fromlrtest()
are not error df; thus, modified to report error df to matchextraSS()
. Added some examples.
FSA 0.4.36
- Date: Jan15
-
hist.formula()
: Modifiied. Addediaxs=
, which when set to the default value ofTRUE
will usexaxs="i"
andyaxs="i"
to remove the “floating” x-axis produced byhist()
in base R. -
lwCompPreds()
: Modified. Added theyaxs=
argument. -
psdCalc()
: Modified. AddedshowIntermediate=
to allow showing intermediate values in the calculation of the PSD indices. AddedjustAdds=
to allow the user to return just those results that pertain to the values inaddLens=
. Added ability to use a named vector inaddLens=
and then not useaddNames=
. Changeddigits=1
todigits=0
. Thanks to Ben Neely for the suggestions. -
psdVal()
: Modified. Added ability to use a named vector inaddLens=
and then not useaddNames=
. The original functionality is still there. Added a check that one of the Gabelhouse lengths is not also one of theaddLens=
values. Deleted theaddLens=
value if it was (the user might have sent a name with this value and will want that name to appear in the results). -
residPlot()
: Modiifed. Addedxpd=TRUE
to the loess line routine so that the curve and polygon would stay within the plotting region. -
tictactoe()
: Modified. Add the ability to handle differences between whenxaxs="r"
andyaxs="r"
are used and whenxaxs="i"
andyaxs="i"
are used.
FSA 0.4.35
- Date: Jan15
-
dunnTest()
: Added.
FSA 0.4.34
- Date: Dec14
-
addZeroCatch()
: Modified. Removedidvar=
, forced theeventvar=
andspeciesvar=
variables in the returned data.frame to be numeric if they were numeric in the original data.frame, allowedspeciesvar=
to have more than one variable, and addedna.rm=
. Multiple values forspecvar=
will allow the user to add zeros based on a combination of variables (e.g., species and size category). Thena.rm=
argument allows the user to remove “missing” species, which are common if some sampling events did not capture any fish.
FSA 0.4.33
- Date: Dec14
-
growthModelSim()
: Modified. Changed all “K0” objects to “t50”. -
headtail()
: Added. -
logbtcf()
: Added. -
lwCompPreds()
: Modified. Addedbase=
to allow the function to work with logarithms to a different base. The original function was hard-wired to only use natural logarithms. Updated the examples and the tests. -
vbFuns()
: Modified. Changed all “K0” objects to “t50”. -
vbStarts()
: Modified. Changed all “K0” objects to “t50”.
FSA 0.4.32
- Date: Nov14
-
expandcounts()
: Added (fromfishWiDNR
package). -
expandLenFreq()
: Added. Same aslenFreqExpand()
but thought that this name fits better withexpandCounts()
. -
pcumsum()
: Added. -
rcumsum()
: Modified. Completely new code (much simpler). -
validn()
: Added.
FSA 0.4.31
- Date: Nov14
- Removed the suggests for
plyr
. -
addZeroCatch()
: Modified. Slight modifications to help file. Fixed bug related to error checking the number of variables. Added some tests. -
lencat()
Modified. Addeddroplevels=
and keptdrop.levels=
as I could not consistently remember what the name of the argument was – i.e., the user can use either one, butdroplevels=
is preferred. -
mapvalues()
: Added. This is the exact same function from theplyr
package. Included here to minimize conflicts between functions indplyr
andplyr
that have the same name (i.e., don’t have to installplyr
just formapvalues()
when also usingdplyr
). -
perc()
: Added. -
psdCalc()
: Modified. Minor change related todroplevels=
inlencat()
. -
psdVal()
: Modified. Changed name for the “zero” group to “substock.” -
swvCode()
: Modified. Removed ability to Stangle the code and thus removedmethod=
. Modified code to allow usage of .Rmd files in addition to .Rnw files.
FSA 0.4.30
- Date: Oct14
- Added a suggests for
plyr
, for examples usingmapvalues()
. -
lencat()
: Modified. Changedas.fact=
to default to same asuse.names=
. This will result in the same behavior as before. However, it also allows the user to setuse.names=TRUE
andas.fact=FALSE
to return a character vector (that is not a factor). -
psdAdd()
: Modified. AddedaddSpec=
andaddLens=
so that the user can have non-Gabelhouse lengths for individual species. -
PSDlit
: Modified. Changed “Walleye x Sauger” to “Saugeye” and “White Bass x Striped Bass” to “Palmetto Bass”. Updated the Palmetto Bass values based on Dumont and Neely (2011), but kept old values as “Palmetto Bass (original)”. Deleted redundant entries for some species. -
recodeF()
: Deleted. Functionality is inmapvalues()
fromplyr
. Ease come easy go (i.e., added in last version).
FSA 0.4.29
- Date: Oct14
- Added a suggests for
dplyr
. - Added an external file in inst/extdata for testing PSD and Wr calculations.
-
capFirst()
: Modified. Changedwords=
towhich=
. -
psdAdd()
: Modified. Added a default and a formula version to allow efficiency withdplyr
. Added examples. Updated tests. -
recodeF()
: Added. -
recodeSpecies()
: Deleted. Functionality replaced byrecodeF()
in combination withcapFirst()
. -
wrAdd()
: Modified. Added a default and a formula version to allow efficiency withdplyr
. Added examples. Updated tests. -
WSlit
: Modified. Added results for Sardine.
FSA 0.4.28
- Date: Sep14
-
psdAdd()
: Added. -
psdDataPrep()
: Deleted. Functionality replaced bypsdAdd()
. -
recodeSpecies()
: Modified. Completely re-written but with the same basic functionality. This new version returns a vector that can then be appended to an existing data.frame rather than the old function that returned a whole data.frame. This function should allow ease of use withmutate()
fromdplyr
. Added more catches for badformuala=
s. Added some tests. -
wrAdd()
: Modified. Completely re-written with completely new functionality. This new version returns a vector that can then be appended to an existing data.frame rather than the old function that returned a whole data.frame. This function should allow ease of use withmutate()
fromdplyr
. Added more catches for badformuala=
s. Added some tests. -
wrDataPrep()
: Deleted. Functionality replaced by newwrAdd()
.
FSA 0.4.27
- Date: Sep14
-
hist.formula()
: Modified. Slight modifications to warning messages. -
Summarize()
: Modified. Slight modification to warning messages. -
tictactoe()
: Modified. Changedpredbal=
topredobj=
,preybal=
topredbal=
,xlab=
topredlab=
,ylab=
topreylab=
,bal.col=
toobj.col=
, andbal.trans=
toobj.trans=
. -
vbStarts()
: Modified. Fixed a bug related toplot=TRUE
whentype="Francis"
ortype="Schnute"
. -
wrAdd()
: Modified. Modified how quadratic functions and the handling of fish less than the minimum applicable length were handled because of changes towsVal()
. -
wsLit
: Modified. Changed order of variables, changed hybrid species names to match that of Neumann et al. (2012), update comments to related to Neumman et al. (2012) rather than Blackwell et al. (2012), and added information for the Riffle Dace. -
wsVal()
: Modified. Changed the names of themin.len
andmax.len
variables to be eithermin.TL
andmax.TL
ormin.FL
andmax.TL
as appropriate. Suppressed the return ofmax.len
andquad
if they did not exist and suppressed return ofcomment
if it wasnone
. Added a catch if more than one species was given inspecies=
. Created some tests.
FSA 0.4.26
- Date: Sep14
-
capFirst()
Modified. Added an option to handle a vector of strings rather than just a single string. -
lencat()
: Modified. Fixed bug with category names whenuse.names=TRUE
. Moved all internal functions outside oflencat()
environment (and renamed them). Cleaned up code. -
psdCI()
: Modified. Added more catches for calls with mistakes. Create some internal functions to modularize the computations. Added tests. -
psdVal()
: Modified. Added more catches for calls with mistakes. Added tests. -
psdCalc()
: Modified. Completely redone. Changed default to use multinomial rather than binomial method for confidence intervals (addedmethod=
argument to control CI type). Changed to throw an error of a species is not given in ``species=’’. Added tests. -
psdDataPrep()
: Modified. Changeduse.catnames=
touse.names
andpsdname=
tovname=
to be consistent withpsdVal()
. Removed duplicitousfactor()
calls for the length category and species name variables in the returned data.framed. -
psdPlot()
: Modified. Completely redone (fixed several bugs and overall sloppy code). Addedpsd.add=
. Changedlegend.pos=
andlegend.cex=
topsd.pos=
andpsd.cex=
. -
recodeSpecies()
: Modified. Made changes to reflect newcapFirst()
functionality. -
tictactoe()
: Modfied. -
tictactoeAdd()
: Removed. Directed user to useplotCI()
fromplotrix
instead.
FSA 0.4.25
- Date: Sep14
-
mrClosed()
: Modified. Better handled a given value ofR=
. -
psdCalc()
Modified. Fixed a bug that appeared when no “zero” fish were present in the data. Moved all internal functions outside ofpsdCalc()
environment (and renamed them). -
psdCI()
: Added. -
psdPlot()
: Modified. Fixed a bug that appeared when no “zero” fish were present in the data. UsedpsdCalc()
to compute the PSD values. Moved default legend position totopleft
. -
swvCode()
: Modified. Fixed bug when attempting to use this function from outside of the directory where the .Rnw file exists. Added functionality to add a “note” to the first line(s) of the output file. Added code to remove the first line of the output file if it was going to be blank. -
swvFinish()
: Modified. Updated code becauseiGetFilePrefix()
was deleted.
FSA 0.4.24
- Date: Aug14
-
ageKey()
: Deprecated. SeealkIndAge()
. -
ageKeyPlot()
: Deprecated. SeealkPlot()
. -
ageKeyPrep()
: Deprecated. SeealkPrep()
. -
alkAgeDist()
: Added. -
alkIndAge()
: Added. WasageKey()
. Addedseed=
to help with reproducibility. Modified code to better handle when an age-length key has a whole row of missing data (as would happen ifas.fact=TRUE
anddrop.levels=FALSE
inlencat()
). Added some checks for the age-length key structure. Moved all internal functions outside ofalkIndAge()
environment (and renamed them). -
alkMeanVar()
: Added. -
alkPlot()
: Added. WasageKeyPlot()
. Fixed bug with colors when adding legend to bar and area plots. Allowed legend to be removed from area plot. Added ability to add a legend to the lines and splines plot. Addedpal=
to allow choice of color palette for areas in bar and area plot and lines in lines and splines plots. Allowed an area plot when one row of age-length key sums to zero (previously did not allow this). Create internal functions for each plot type. Moved all internal functions outside ofalkPlot()
environment (and renamed them). Added some checks on the age-length key structure. -
alkPrep()
: Added. WasageKeyPrep()
. Added some checks on the age-length key structure. -
iCheck ALK()
: Added as an internal function (used to test the structure of the age-length keys in several other functions). -
summary.mrOpen()
: Modified. Removed “Estimates” heading ifverbose=FALSE
. -
Summarize()
: Modified. Moved all internal functions outside ofSummarize()
environment (and renamed them).
FSA 0.4.23
- Date: Aug14
-
removal()
: Modified. Completely modified the code so that the examples withapply()
andlapply()
would also provide confidence intervals. Also changed the code to reflect that $\sum_{i=1}^{k-1}T_{i}$ from Schnute (1983) is the same as X from Carle and Strub (1978), the $\sum_{i=1}^{k-1}T_{i}-C_{1}$ in Schnute (1983) is the same as X − (k − 1)C1, and q in Schnute (1983) is p in most other resources. These changes allowed some efficiencies and connected the theory behind the methods more firmly. Removed the check for character data. Kept the check for whether catch was a vector or not but if catch is a one row or one column matrix or data.frame then it will be converted to a vector to continue. The latter change allows one to extract one row from a data.frame to send toremoval()
without having to useas.numeric()
. Modified and added examples of the use ofapply()
andlapply()
.
FSA 0.4.22
- Date: Aug14
-
ageKey()
: Modified. Changed to usingall.equal()
to check if the ALK has rows that don’t sum to 1. This was an attempt to minimize the number of “false negatives” caused by R FAQ 7.31. Changed the check of whether the longest fish in the length sample is greater than the longest length bin in the ALK to whether the longest fish in the length sample is greater than the longest length bin in ALK PLUS the minimum width of length categories. This last change is an attempt to minimize the number of warnings that occur when the longest fish in the length sample would be in the last length category ALK but because the length categories are labelled by their minimum length it looks like it is not. The minimum width is used to still allow unevent length categories and, thus, this check may still produce some “false negatives.” -
ageKeyPlot()
: Modified. Removedbubble.ylab=
. Modifiedylab=
to handle whatbubble.ylab=
used to handle. -
removal()
: Modified. Added options to perform Moran (1951) and Schnute (1983) removal methods. Added examples of the new functionality. Updated the tests for the new functionality.
FSA 0.4.21
- Date: Jul14
-
depletion()
: Modified. Changedtype=
tomethod=
and addedDeLury
as an option tomethod=
(and leftDelury
). Changedricker.mod=
toRicker.mod=
. Added some checking for bad arguments. Created internal functions specific to the Leslie and DeLury methods (for isolation). Modified some clunky code. Added references to specific sections in Seber (2002) for SE equations. Updated examples. Added tests and error checking. -
coef.depletion()
: Modified. Addeddigits=
. -
confint.depletion()
: Modified. Addeddigits=
. Modified theparm=
list to be more efficient. -
plot.depletion()
: Modified. Removed internalpar()
settings. -
summary.depletion()
: Modified. Addedverbose=
anddigits=
.
FSA 0.4.20
- Date: Jul14
-
removal()
: Modified. Made"CarleStrub"
the default method. Changedtype=
tomethod=
. Changed internalmeth
object tolbl
. Moved all internal functions outside ofmrOpen()
environment and added other internal functions to isolate all intermediate calculations. Added averbose=
andparm=
tosummary()
. Streamlined clunky code inconfint()
including removing theall
andboth
options fromparm=
. Added more checks for abd inputs, notes in the code as to sources for the fomulae, and tests.
FSA 0.4.19
- Date: Jul14
- Modified some tests to check whether the suggested package was installed.
-
capHistSum()
: Modified. Changed column and row labels for$methodB.top
and column labels for$methodB.bot
. Added a m-array object for when more than two sampling events are present. Added calculations for the number of fish first seen on event i (ui), the number of fish last seen on event i (vi), and the number of fish seen i times (fi) to$sum
. -
jolly()
: Added. Same asmrOpen()
, added only for convenience. -
mrClosed()
: Modified. Fixed bugs around printing of CI type with Schnabel and the ignoring ofconf.level=
with Schnabel. -
mrOpen
: Modified. Changedci.type=
totype=
andphi.type=
tophi.full=
. Removedtype=
fromsummary()
and added averbose=
which will print only the estimates ifFALSE
or both observables and estimates ifTRUE
. Added averbose=
toconfint()
to control whether the message about the type of confidence interval is printed or not. Moved all internal functions outside ofmrOpen()
environment and added other internal functions to isolate all intermediate calculations. Changes to row and column labels incapHistSum()
resulted in changes to row lables forsummary()
andconfint()
results. Streamlined some clunky code. Added checks for misformedmb.top=
andmb.bot=
. Added tests and notes in the code as to sources for the fomulae. -
plot.CapHistSum()
: Added. -
plot.mrClosed()
: Modified. Changed axis labels as the expressions did not print with some fonts and devices.
FSA 0.4.18
- Date: Jul14
- Moved to compiling under R 3.1.1.
- Added a Suggests for
marked
for the example incapHistConvert()
. -
ageBias()
: Modified. Changed default value ofmin.n.CI=
from 5 to 3. Added anna.rm=TRUE
to themin()
andmax()
that produced the age ranges for the age agreement table. -
BluegillJL
: Modified. Corrected lake name and added a citation. -
capHistConvert()
: Modified. This should probably be considered as a new function if updating from the old version. Modifications included simplifying the structure allowed for the input data.frames (they can have only an id or a freq column and then columns related to the capture history … this makes the function less flexible but simplifies its use for those that are most likely to use it), moved to a series of internal functions, created a common intermediate data format (which streamlined the code considerably), changed the name of theFSA
format toindividual
and theRcapture
format tofrequency
, added anout.type='event'
format, addedin.type='RMark'
andin.type='marked'
formats, fixed the bug with outputtingRMark
format, changed the default for new frequency variables fromFreq
tofreq
, removed themch=
andevent=
arguments, replacedcols=
withcols2ignore=
, added theinclude.id=
argument, changed thein.type=
default, coded some “catches” for common mistakes in use, coded to keep the unique fish identifier inid=
or event name given in the variable names as much as possible, fixed a bug withevent.ord=
. Added several new examples. -
capHistSum()
: Modified. Changecols=
argument tocols2use=
. Moved all internal functions outside ofcapHistSum()
environment. -
CutthroatAL
: Modified. Updated from a new source to include many more years of samples. -
fitPlot()
: Modified. Changedtrans.pt=
totransparency=
. -
mrClosed()
: Modified. Completely re-built the internal file structure. Changedincl.inputs=
toverbose=
. Added the ability to construct a CI for the overall PE when multiple groups are used in a Petersen family method (thus, added aincl.all=
toconfint()
). Changed default forincl.all=
fromFALSE
toTRUE
. Modified the messages whenverbose=TRUE
. -
plot.AgeBias()
. Modified. Fixed bug that produced a warning if all of the bias t-tests were either significant or not significant. Changedcol.err=
tocol.CI=
,lwd.err=
tolwd.CI=
,col.err.sig=
tocol.CIsig=
,col.ref=
tocol.agree=
,lwd.ref=
tolwd.agree=
,lty.ref=
tolty.agree=
,show.rng=
toshow.range=
,col.rng=
tocol.range=
,lwd.rng=
tolwd.range=
. Removedcol.lab=
androw.lab=
which were deprecated several minor versions ago. Changed default values forlwd.rng=
andlwd.CI=
from 2 to 1. Added acex.numbers=
argument for controlling the size of the numbers in the “numbers plot” (defaults to 0.9). -
plotBinResp()
: Modified. Changedtrans.pt=
totransparency=
.
FSA 0.4.17
- Date: Jul14
-
confint.mrClosed()
: Modified. Moved all internal functions outside ofconfint.mrClosed()
environment (seeiCI.MRCMultiple()
andiCI.MRCSingle()
). Changedci.type=
to justtype=
. Streamlined binomial method for single census. UsediMRCSingleSE()
to get SE for whentype="normal"
for Chapman, Bailey, and Ricker methods. -
extraSS()
: Modified. Slight change to row labels in output table. -
iMRCMultiple()
: Added. Wasmrc2()
internal function inside ofmrClosed()
environment. -
iMRCSingle()
: Added. Wasmrc1()
internal function inside ofmrClosed()
environment. -
iMRCSingleSE()
: Added. Moved functionality out ofsummary.mrClosed()
. Checked and documented all formulas with sources (in code and in Rd file). -
lrt()
: Modified. Slight change to row labels in output table. -
mrClosed()
: Modified. Moved all internal functions outside ofmrClosed()
environment (seeiMRCMultiple()
andiMRCSingle()
). Changedtype=
argument tomethod=
. Added more catches for argument problems (required settingn=
,m=
,M=
andR=
toNULL
). Streamlined warning message for whenincl.SE=TRUE
is used with Schnabel or Schumacher-Eschmeyer method. Added tests and reported results in the help file for population size, SE, and CI estimates for each method. -
plot.mrClosed()
: Modified. Removed setting ofpar()
. Changed from usinglowess()
to usingloess()
and set better default values. Added descriptive text to help file. -
summary.mrClosed()
: Modified. Moved SE calculations into an internal function (seeiMRCSingleSE()
).
FSA 0.4.16
- Date: Jul14
-
BluegillLM
: Modified. Added a seealso. -
residPlot()
: Modified. Changed the loess-related methods to useloess()
, to put an approximate confident band with the line, the line and band are “under” the points, the line is lighter. Put the horizontal reference line at zero under the points. Madeloess=TRUE
the default. -
iAddLoessLine()
: Modified. SeeresidPlot()
. -
iHndlFormula()
: Modified. COrrected the positioning of the explanatory variables when the model has a response variable. -
iMakeBaseResidPlot()
: Added as an internal function toresidPlot()
to simplify some coding. -
iMakeColor()
: Modified. More intelligently handles values that are greater than 1 (converts them to decimals by inverting.) -
lwPredsComp()
: Modified. Changedmdl=
toobject=
. Added use of internaliHndlFormula()
and moved two internal functions outside the main function. Changed default for intervals fromboth
toconfidence
and changed so that if only the confidence or prediction intervals are plotted they will be black withlwd=
width (if both are plotted the CI is now black and the PI is now blue). Added ashow.preds
argument. Changedconnect.means=
toconnect.preds=
. Changed defaultlwd=
value and how it is used for CIs, PIs, and the connection lines. Addedcol.connect=
argument. Removedmar
andmgp
frompar()
call (leftmfrow
). Added more examples. Added tests for error messages. -
residPlot()
: Modified. AddedinclHist=
argument. Corrected a bug around the use ofthigmophobe()
iniAddOutlierTest()
. Changed default forstudent=
toFALSE
. Modified and added more examples. -
SMBassWB
: Modified. Added a seealso.
FSA 0.4.15
- Date: Jun14
- lots of roxygen2 Rd cleaning.
-
addLoessLine()
: Deleted. Moved functionality toiAddLoessLine()
and moved code toresidPlot()
file.. -
addOutlierTestResults()
: Deleted. Moved functionality toiAddOutlierTestResults()
and moved code toresidPlot()
file. -
capHistConvert()
: Added aninteractive()
to theRcapture
example in the help file. -
checkStartcatW()
: Deleted. Moved functionality toiCheckStartcatW()
. -
ci.fp()
: Deleted. Moved functionality toiCIfp()
and moved code tofitPlot()
file. -
ci.fp.1()
: Deleted. Moved functionality toiCIfp1()
and moved code tofitPlot()
file. -
ciLabel()
: Deleted. Moved functionality toiCILabel()
. -
getAllDependencies()
: Deleted. Moved functionality toiGetAllDependencies()
and moved code toswvUtils
file. -
getFilePrefix()
: Deleted. Moved functionality toiGetFilePrefix()
and moved code toswvUtils
file. -
getMainTitle()
: Deleted. Moved functionality toiGetMainTitle()
and moved code toresidPlot()
file. -
getVarFromFormula()
: Deleted. Moved functionality toiGetVarFromFormula()
. -
hndlFormula()
: Deleted. Moved functionality toiHndlFormula()
. -
hndlMultWhat()
: Deleted. Moved functionality toiHndlMultWhat()
. -
iAddLoessLine()
: Added. WasaddLoessLine()
. -
iAddOutlierTestResults()
: Added. WasaddOutlierTestResults()
. -
iCheckStartcatW()
: Added. WascheckStartcatW()
. -
iCIfp()
: Added. Wasci.fp()
. -
iCIfp1()
: Added. Wasci.fp.1()
. -
iCILabel()
: Added. WasciLabel()
. -
iGetAllDependencies()
: Added. WasgetAllDependencies()
. -
iGetFilePrefix()
: Added. WasgetFilePrefix()
. -
iGetMainTitle()
: Added. WasgetMainTitle()
. -
iGetVarFromFormula()
: Added. WasgetVarFromFormula()
. -
iHndlFormula()
: Added. WashndlFormula()
. -
iHndlMultWhat()
: Added. WashndlMultWhat()
. -
iLegendHelp()
: Added. WaslegendHelp()
. -
iMakeColor()
: Added. WasmakeColor()
. -
iMakeFilename()
: Added. WasmakeFilename()
. -
iMakeItemsToRemove()
: Added. WasmakeItemsToRemove()
. -
iProcessSessionInfo()
: Added. WasprocessSessionInfo()
. -
iPSDLitCheck()
: Added. WaspsdLitCheck()
. -
is.even()
: Added. -
is.odd()
: Added. Wasodd()
. -
iTypeoflm()
: Added. Wastypeoflm()
. -
iwsLitCheck()
: Added. WaswsLitCheck()
-
legendHelp()
: Deleted. Moved functionality toiLegendHelp()
. -
listSpecies()
: Deleted. Moved functionality toiListSpecies()
. -
makeColor()
: Deleted. Moved functionality toiMakeColor()
. -
makeFilename()
: Deleted. Moved functionality toiMakeFilename()
and moved code toswvUtils
file. -
makeItemsToRemove()
: Deleted. Moved functionality toiMakeItemsToRemove()
and moved code toswvUtils
file. -
odd()
: Deleted. Moved functionality tois.odd()
. -
predict.nlsBoot()
: Added aninteractive()
to thenlstools
example in the help file. -
printProgressMsg()
: Deleted. Not used anywhere. -
processSessionInfo()
: Deleted. Moved functionalityiProcessSessionInfo()
and moved code toswvUtils
file. -
PSDLitCheck()
: Deleted. Moved functionality toiPSDLitCheck()
and moved code topsdVals()
file. -
pssCalc()
: Deleted. Was deprecated several versions ago. SeepsdCalc()
. -
pssDataPrep()
: Deleted. Was deprecated several versions ago. SeepsdDataPrep()
. -
pssPlot()
: Deleted. Was deprecated several versions ago. SeepsdPlot()
. -
pssVal()
: Deleted. Was deprecated several versions ago. SeepsdVal()
. -
typeoflm()
: Deleted. Moved functionality toiTypeoflm()
. -
wsLitCheck()
: Deleted. Moved functionality toiwsLitCheck()
and moved code towsVals()
file.
FSA 0.4.14
- Date: Jun14
- added tests (in
test_VonB2b.R
) to assure that group comparisons of von Bertalanffy parameters equal those in Kimura (1980) andvblrt()
infishmethods
. - added importsFrom for
lmtest
forlrt()
. Also used in testing (test_VonB2b.R
). -
confint.nlsBoot()
: Modified. Modified the plotting to usehist.formula()
, removedpar(mar=)
definitions, and addederr.col=
andlwd.col=
to control the color and line width of the confidence interval line on the plot. -
extraSS()
: Added. -
growthModels()
: Modified. Added Weisberg parameterization. ChangedvbGallucciQuinn
tovbGQ
. -
growthModelSim()
: Modified. Added Weisberg parameterization. AddedvbGQ
abbreviation (synonymous withvbGallucciQuinn
). -
lrt()
: Added. -
vbFuns()
: Modified. Added Weisberg parameterization. AddedvbGQ
abbreviation (synonymous withvbGallucciQuinn
). Simplified the functions for whensimple=FALSE
(no error checking now). -
vbModels()
: Modified. Added Weisberg parameterization. ChangedvbGallucciQuinn
tovbGQ
. -
vbStarts()
: Modified. Added Weisberg parameterization. AddedvbGQ
abbreviation (synonymous withvbGallucciQuinn
). Added an internal function for checking whther the starting values for K and Linf made sense.
FSA 0.4.13
Date: Jun14
added testthat files for error checking of
chapmanPlot()
,vbFuns()
,vbStarts()
, andwalfordPlot()
. Added a testthat file for checking that the von Bertalanffy fitting usingvbFuns()
andvbStarts()
matches other sources.ageBias()
: Modified. Deprecatedcol.lab=
androw.lab=
and replaced withref.lab=
andnref.lab=
. Moved all functions that were internal to main functions to being internal to the package. In the process, I changed the names of the internal functions slightly, made explicit the argument passing, and added internal descriptions of the internal files. Changed several if else strings in the plot method to aswitch()
.agePrecision()
: Modified. Changed some messages so they were not as wide.chapmanPlot()
: Modified. Removed S3 functions so thatvbStarts()
has to use a formula. Added some checking related to the formula.growthModels()
: Modified. Created an internal function that eliminates repetitiveness between this andvbModels()
. Changed theGompX
types toGompertzX
.growthModelSim()
: Modified. Removed S3 functions so thatgrowthModelSim()
has to use a formula. Added some checking related to the formula. Changed the order of the arguments so thatformula=
anddata=
come beforetype=
. This allows a similar interface withvbStarts()
. Included a hack that still allows the user to enter a type as the first argument (and thus not have to typetype=
if any parameterization besides thevbTypical
is being used). Corrected spelling of Gallucci for Gallucci and Quinn model.hndlFormula()
: Modified. Fixed bug with expected number of response variables value in return list.SpotVA1
: Modified. Updated reference.vbFuns()
: Modified. Changedschnute
parameterization to use L3 instead of L2 and t3 instead of t2.vbModels()
: Modified. Created an internal function that eliminates repetitiveness between this andgrowthModels()
.vbStarts()
: Modified. Removed S3 functions so thatvbStarts()
has to use a formula. Added some checking related to the formula. ChangedtFrancis=
toages2use=
. Changed the Schnute method to use the ages inages2use=
rather than being hard-wired to use the minimum and maximum observed age. Both the Schnute and Francis methods will use the minimum and maximum observed ages ifages2use=NULL
. Added a catch for ifages2use=
are in descending order (should be in ascending order). ChangedSchnute
parameterization to use L3 instead of L2.walfordPlot()
: Modified. Removed S3 functions so thatvbStarts()
has to use a formula. Added some checking related to the formula.
FSA 0.4.12
Date: May14
added Suggests for
testthat
,fishmethods
,FSAdata
for testing andpopbio
for an example that was made “interactive” from “dont run”(see below).added testthat files for
ageBias()
andagePrecision()
.ageBias()
: Modified. Removed unit testings from examples and put in the testing file.agePrecision()
: Modified. Removed deprecatedwhat="agreement"
.confint.nlsBoot()
: Modified. Changed example from “dont run” to “interactive.”fact2num()
: Modified. Changed example from “dont run” to “interactive.”fishR()
: Modified. Removednews
and addedposts
to thewhere=
argument. Cleaned up the Rd file. Changed example from “dont run” to “interactive.”FSA()
: Modified. Cleaned up the Rd file.FSANews()
,fsaNews()
: Modified. Cleaned up and fixed the Usage section in the Rd file. Changed example from “dont run” to “interactive.”growthRadPlot()
: Modified. Changed example from “dont run” to “interactive.”htest.nlsBoot()
: Modified. Changed example from “dont run” to “interactive.”lagratio()
: Modified. Changed example from “dont run” to “interactive.”popSizesPlot()
: Modified. Changed example from “dont run” to “interactive.”TroutDietSL
: Modified. Changed Rd file for deletion ofview()
.view()
: Deleted. Moved to NCStats package.wrDataPrep()
: Modified. Changed Rd file for deletion ofview()
.
FSA 0.4.11
Date: May14
Removed Roxygen directives in DESCRIPTION (with changes to roxygen2 4.0.1).
Changed
@S3method
and@method
to@export
in the following files according to changes in ROxygen2 as described here, among several other places:ageBias
,agePrecision
,bootCase
,catchCurve
,chapmanRobson
,confint.nlsboot
,depletion
,dietOverlap
,fitPlot
,hist.formula
,htest.nlsBoot
,ks2d1
,ks2d1p
,ks2d2
,ks2d2p
,ksTest
,lencat
,mrClosed
,mrOpen
,plotBinResp
,predict.nlsBoot
,removal
,residPlot
,srStarts
,Subset
,Summarize
,sumTable
,vbStarts
, andwalfordChapmanPlot
.addZeroCatch()
: Modified. Added a catch for the situation where no zeros need to be added to the data.frame. Cleaned-up the help file, modified the examples, and added another example. Thanks to Ben Neely for bringing this bug (handling where zeros are not needed) to my attention.capHistSum()
: Modified. Cleaned up the code (no changes in functionality).catchCurveSim()
: Deleted. Moved to FSAsim package.checkstartcatw()
: Modified. Changed the catch for whether the starting category value was greater than the minimum observed value to correct for a pathological case where they were equal but not with machine rounding.lenFreqExpand()
: Modified. Slightly changed the examples in the help file.lwPredsComp()
: Modified. Streamlined the code (no changes to functionality).mrOpen()
: Modified. Streamlined the code (no changes to functionality). Removed all explicity partial matching options inswitch()
es as these were already caught with previousmatch.arg()
s.
FSA 0.4.10
Date: May14
Added Roxygen directives to DESCRIPTION.
Updated to Roxygen2 4.0.0 which modified several help files.
ageBias()
: Modified. Cleaned-up the help file.agePrecision()
: Modified. Cleaned-up the help file.ageKey()
: Modified. Cleaned-up the help file and modified the example.ageKeyPlot()
: Modified. Added more description and cleaned-up the help file.ageKeyPrep()
: Modified. Added more description and cleaned-up the help file.lenFreqExpand()
: Modified. Correctedtotal=
to uselength(x)
rather thannrow(df)
, which was left over from a previous change. Cleaned-up the help file.mrClosed()
: Modified. Increased the readability of the code (added comments, usedwith()
for some long calculations, added spacing). Added specific citations to equations in the help file. Changed the degrees-of-freedom in the confidence interval calculation for the Schnabel methods from number of samples minus 2 to number of samples minus 1 (following Krebs).poiCI()
: Modified. Cleaned-up the help file.psdDataPrep()
: Modified. Fixed error arounduse.catnames=
.swvCounts()
: Modified. Fixed error in output.
FSA 0.4.9
Date: May14
Removed nlme dependencies (with removal of
vbDataGen()
).ageComp()
: Deleted. Fully deprecated. UseageBias()
andagePrecision()
instead.cohortSim()
: Deleted. Moved to FSAsim package.depletion()
: Modified. Remove link toleslieSim()
.lengthWeightSim()
: Deleted. Moved to FSAsim package.leslieSim()
: Deleted. Moved to FSAsim package.lwModelSim()
: Deleted. Moved to FSAsim package.mrClosed()
: Modified. Remove link tomrClosed1Sim()
.mrClosed1Sim()
: Deleted. Moved to FSAsim package.srCobWeb()
: Deleted. Moved to FSAsim package.vbComp()
: Deleted. Moved to FSAsim package.vbDataGen()
: Deleted. Moved to FSAsim package.vbFuns()
: Modified. Remove link tovbComp()
.VBGMlit()
: Deleted. Moved to FSAsim package.
FSA 0.4.8
- Date: May14
-
ageBias()
: Modified. Added the ability to use multiplewhat=
arguments withc()
. Addedwhat="n"
to get the sample size on the age-agreement table. AddednYpos=
toplot()
to allow control of the position of the sample size values on the plot. Changed the order of the printing of results whenwhat="symmetry"
is used insummary()
. The order more closely follows the “level of complexity” of the tests. Added unit test examples to the help file. -
agePrecision()
: Modified. Added the ability to use multiplewhat=
arguments withc()
. -
hndlMultWhat()
: Added. An internal file to helpageBias()
andagePrecision
handle multiplewhat=
arguments.
FSA 0.4.7
Date: Apr14
Removed all of the functions related to constructing and validating standard weight equations. These are now in the FSAWs package. This is the start of an effort to streamline the FSA package.
Removed importFrom quantreg (only used for standard weight methods).
ChinookArg
: Added (from FSAdata).emp()
: Removed.FroesWs()
: Removed.lencatOLD()
: Removed (from FSA-internals).lwPredsComp()
: Modified. Changed example to usingChinookArg
rather thanRuffeWs
becauseRuffeWs
was moved to the FSAWs package.LMBassWs
: Removed.rlp()
: Removed.RuffeWs
: Removed.WalleyeGerowLW
: Removed.wsValidate()
: Removed.WalleyeGerowLW
: Removed.
FSA 0.4.6
Date: Apr14
Changed to compiling under R 3.1.0
Imported
stackpoly()
from plotrix for use inageKeyPlot()
.Added concepts (that largely match those in the FSAdata pacakge) to most of the data files.
Made some grammatical changes and added author sections to Rd files.
ageKeyPlot()
: Added.dietOverlap()
: Modified. Changed examples in help file to reflect changes tolencat()
.lencat()
: Modified. Added generic functions.lencat.default()
accepts a vector as its first argument and returns a single vector.lencat.formula()
accepts a formula as its first argument and thedata=
argument. Thelencat.formula()
is the same as the oldlencat()
andlencat.default()
provides new functionality. Additionally, the default forstartcat=
is nowNULL
and a value forstartcat=
is found automatically (though a value can still be supplied by the user). Theuse.catnames=
was changed touse.names=
. Other changes were made to simplify the code.lenFreqExpand()
: Modified. Removed thedf=
andcl=
arguments and replaced withx=
, which is simply a vector of length measurements. Changed tostartcat=NULL
so that that the starting category value can be determined automatically (or can still be set by the user).
FSA 0.4.5
Date: Apr14
Converted to using github as a repository.
Changed NEWS to NEWS.md
Added ImportFrom for relax package (see below).
ageBias()
: Modified. Added a plot that shows the number of observations at each combined age. Changed the coding slightly around Bowker’s test (added an internal function) and implemented Evans and Hoenig’s and McNemar’s test. These changes resulting in adding a “table” choice towhat=
that will print just the age-agreement table. Whenwhat="symmetry"
is chosen all three ob Bowker’s, McNemar’s, and Evans-Hoenig results will be output as a table. The age-agreement table is no longer printed whenwhat="symmetry"
. In addition,what="Bowkers"
,what="EvansHoenig"
, andwhat="McNemars"
can be used to see the Bowker’s, Evans and Hoenig, and McNemars test results, respectfully. Added acont.corr=
argument for use with McNemars test.agePrecision()
: Modified. Added the ability to show raw (vs. absolute value) differences between structures. This resulted in the removal ofwhat="agreement"
(though it is deprecated, with a message, for now) and the addition ofwhat="difference"
andwhat="absolute difference"
.fishR()
: Modified. Changed to point to the github NEWS.md whenwhere="news"
.fitPlot()
: Modified. Changed the logistic regression code to handle the changes toplotBinResp()
(see below). In addition, a temporary fix was added so that the size of the y-axis labels could be modified with an external call topar()
. This was a fix for Glen Sutton but will ultimately need to be handled more elegantly.fsaNews()
: Modified. Changed to point to the github NEWS.md.catchCurveSim()
: Added back from FSATeach (required adding ImportFrom for relax package).cohortSim()
: Added back from FSATeach (required adding ImportFrom for relax package).growthModelSim()
: Added back from FSATeach (required adding ImportFrom for relax package).lengthWeightSim()
: Added back (waslwModelSim()
) from FSATeach (required adding ImportFrom for relax package).leslieSim()
: Added back from FSATeach (required adding ImportFrom for relax package).mrClosed1Sim()
: Added back from FSATeach (required adding ImportFrom for relax package).plotBinResp()
: Modified. Addedyaxis1.ticks=
andyaxis1.lbls=
arguments so that the user can control the tick-mark locations and labels for the left y-axis (the defaults are to show ticks every 0.1 units but only label 0, 0.5, and 1). Addedyaxis2.show=
argument to allow the user to “turn-off” the right y-axis (defaults to being on) which is labeled with the level labels.srSim()
: Added back from FSATeach (required adding ImportFrom for relax package).
FSA 0.4.4
- Date: Apr14
-
ageKeyPrep()
: Added. -
agePrecision()
: Modified. Fixed the bug where the APE and CV were over-estimated in situations where the multiple ages agreed at an age=0 (thanks to Richard McBride for pointing out this error). -
wsLit
: Modified. Added Pursak chub information from Sulun et al. (2014).
FSA 0.4.3
- Date: Mar14
-
ageBias()
: Added. Extracted the age-bias related material fromageComp()
. Modified the code to remove unneeded code. FromageComp()
, remove thewhat=
argument related to differences and added adifference=
argument. Also changedwhat="bias.diff"
towhat="diff.bias"
to allow for a quicker partial matching (i.e. separate more fromwhat="bias"
). Major modifications to how the axis limits are created if none are provided. Modified where the sample size is shown on the age-bias plot. Added themin.n.CI=
argument. Added an example usingWhitefishLC
to be consistent withagePrecision()
. -
ageComp()
: Modified. Split intoageBias()
andagePrecision()
. Added a warning that this function is deprecated and will be removed in the future. -
ageKey()
: Modified. Fixed a bug that occurred when a data frame that already contained an LCat variable was provided. -
agePrecision()
: Added. Extracted age precision related material fromageComp()
. Modified the code to allow for calculations across more than two structures. Code was streamlined dramatically from what was inageComp()
. Added an example using WhitefishLC as it allows for demonstrating more than two age assignments. -
capFirst()
: Modified. Added functionality, controlled by the new words= parameter, to allow all words, rather than just the first word, to be capitalized. -
capHistConvert()
: Modified the help file by commenting out the example that depends on the RCapture package. This is needed for the RForge site for the time being. -
fitPlot()
: Modified Rd. Added two polynomial regression examples. -
fitPlot.IVR()
: Modified. Changed to use newtypeoflm()
, changedinterval=
argument, removed automatic main title, removed a bunch of unneeded code. -
fitPlot.logreg()
: Modified. Removed automatic main title. -
fitPlot.nls()
: Modified. Removed automatic main title. -
fitPlot.ONEWAY()
: Modified. Changed to use newtypeoflm()
, removed automatic main title, removed one line of unneeded code. -
fitPlot.SLR()
: Modified. Changed to use newtypeoflm()
, changedinterval=
argument, removed automatic main title. -
fitPlot.TWOWAY()
: Modified. Changed to use newtypeoflm()
and removed automatic main title -
gReshape()
: Modified. Added adrop=
argument so that the user can drop some variables before reshaping. Also, addednew.row.names=1:100000
to thereshape()
call to work-around issues with duplicate row names (which were particularly problematic if any of theid.vars=
had missing values.) -
growthModels()
: Modified. Corrected spelling of Gallucci for Gallucci and Quinn model. -
hist.formula()
: Modified. Add acol=
argument that defaults to “gray90”. -
hndlFormula()
: Added. An internal function to handle various assessments related to using formulas. -
lencat()
: Modified. Added the ability to add names if the vector sent inbreaks=
is named. -
confint.mrClosed()
: Modified. Removed extra linespaces in printed output. Changed default forincl.inputs=
to FALSE. -
summary.mrClosed()
: Modified. Removed extra linespaces in printed output. Changed default forincl.inputs=
to FALSE. -
predict.nlsBoot()
: Modified the help file by commenting out the example that depends on the nlsBoot package. This is needed for the RForge site for the time being. -
psdCalc()
: Added (waspssCalc()
). -
psdDataPrep()
: Added (waspssDataPrep()
) and modified. Deleted the code in this function that added category names as this functionality was added tolencat()
. Seelencat()
above. -
PSDlit
: Added (wasPSSlit
) and modified. Changed all species names to have both words capitalized so as to follow the latest AFS guidelines. -
psdPlot()
: Added (waspssPlot()
). -
psdVal()
: Added (waspssVal()
). -
rsdCalc()
: Deleted. -
rsdVal()
: Deleted. -
recodeSpecies()
: Modified. ChangedcapFirst=
todoCapFirst=
to minimize confusion withcapFirst()
. ChangedoCapFirst=
to a character that behaves likewords=
incapFirst()
, rather than as a logical. -
SpotVA1
: Modified. Removed link to source documents because it caused a problem when making the PDF manual. -
StripedBass1
: Deleted. Moved to FSAdata as no longer needed because some examples were changed to useWhitefishLC
. -
Subset()
: Modified. Added aresetRownames=
argument. -
swvCode()
: Modified. Added anout.dir=
argument. -
swvCounts()
: Modified. Added acapitalize=
argument. -
typeoflm()
: Modifed. Changed to usehndlFormula()
. Made an internal function. -
vbFuns()
: Modified. Corrected spelling of Gallucci for Gallucci and Quinn model. -
vbStarts()
: Modified. Corrected spelling of Gallucci for Gallucci and Quinn model. -
WhitefishLC
: Added (from FSAdata). -
wsLit
: Modified. Changed all species names to have both words capitalized so as to follow the latest AFS guidelines.
FSA 0.4.2
Date: Dec13
Changed to compiling under R 3.0.2.
Removed dependency on reshape package (see changes for
emp()
,gReshape()
, andssValidate()
below) and the relax, tcltk, and TeachingDemos packages (see changes forcatchCurveSim()
,cohortSim()
,growthModelSim()
,leslieSim()
,lwModelSim()
,mrClosed1Sim()
,simAgeBias()
,simAges()
,simLenFromAge()
,simLenSelect()
, andsrSim()
below)..
onAttach()
: Modified. Added notes to usecitation()
.bcFuns()
: Modified. Added “BPH” and “SPH” options totype= argument
(same as “LBPH” and “LSPH”, respectively). Changed a catch usingcat()
to usingmessage()
. Added some specificity to the help file (more is needed).catchCurveSim()
: Deleted. Moved to FSATeach package.changesPos()
: Added.cohortSim()
: Deleted. Moved to FSATeach package.emp()
: Modified. Replaced use ofcast()
withaggregate()
.gReshape()
: Modified. Replaced use ofmelt()
withreshape()
from base package. Fixed bug if name of “increments” was not “inc” (now catches thatin.pre=
value is used). Fixed bug thatna.rm=
was ignored. Modified so that rownames are not created until after the NAs are moved or not. Changed the default name invar.name=
from “age” to “prvAge” to reduce the highly possible chance that there might be another variable in the data frame named “age.”growthModelSim()
: Deleted. Moved to FSATeach package.growthRadPlot()
: Modified. Slightly changed the xlab= argument default.leslieSim()
: Deleted. Moved to FSATeach package.lwModelSim()
: Deleted. Moved to FSATeach package.mrClosed1Sim()
: Deleted. Moved to FSATeach package.simAgeBias()
: Deleted. Moved to FSATeach package.simAges()
: Deleted. Moved to FSATeach package.simLenFromAge()
: Deleted. Moved to FSATeach package.simLenSelect()
: Deleted. Moved to FSATeach package.srSim()
: Deleted. Moved to FSATeach package.summary.ageComp()
: Modified. Added azero.print=
argument with a default of a single dash for use when printing an age-agreement table. Addedflip.table=
argument to allow ease of comparison between the age-agreement table and the age-bias plot. Changed so that ifwhat="prec.stats"
the summary percentages by absolute differences is also printed. Modified the print of several data frames (forwhat="bias"
,"symmetry"
, and"prec.stats"
) so that row names (i.e., row numbers) are not printed.sumTable()
: Added. Brought over from NCStats.vbFuns()
: Modified. Changed all non-simple growth model functions with checks for the number of model parameters and definitions sent. Changed the Francis parameterization model to take only two values oft=
(i.e., the intermediate value is not used and, thus, is not required); thus, thet2=
argument was removed.vbGen()
: Modified. Fixed bug that developed when changes togReshap()
were made. Added warning suppression related to “calculations” on NAs.vbStarts()
: Modified. Changed tFrancis argument to use only two ages. Changed the default formeth.EV=
to “poly”. Removed jittering and added a transparency to the plot. Removed the box around the legend and moved the legend to the “bottomright.” Fixed a typo in the plot heading.wsValidate()
: Modified. Replaced use ofcast()
withaggregate()
.
FSA 0.4.1
Date: Oct13
Changed R dependency to >3.0.0 (because gplots package has that dependency).
Added importFrom for
cast()
,is.formula()
, andmelt()
in reshape package.capHistConvert()
: Corrected the formatting of the documentation.capHistSum()
: Corrected the documentation. Added a second example.dietOverlap()
: Modified. Changed the “Morista” option to “Morisita” to be consistent with the correct spelling of the name.Garvey1
: Added. Used in examples inks2d1()
.Garvey4a
: Added. Used in examples inks2d1()
.histStack()
: Deleted, moved to plotrix package. Arguments were changed there.ks2d()
: Deleted, changed toks2d2()
.ks2d1()
: Added.ks2d2()
: Added, wasks2d()
.ks2dp()
: Deleted, changed toks2d2p()
.ks2d2p()
: Added, wasks2dp()
.mrClosed()
: Modified. Changed all “messages” usingcat()
to usingmessage()
so that they can be suppressed withsuppressMessage()
ormessage=FALSE
in knitr. See “One comment on messages” at http://yihui.name/knitr/demo/output/.pkolgomorov1x()
: Added to FSAinternals (fromks2d()
).plotH()
: Deleted, moved to plotrix package.quad_dens()
: Added to FSAinternals (fromks2d()
).
FSA 0.4.0
Date: Jun13
Corrected all pointers to fishR vignettes (because of new webpage).
Removed importFrom color.scale from plotrix because of changes to
discharge()
andwetPerim()
.removed importFrom %nin% from Hmisc. See multiple changes because of this below.
.onAttach()
: Added, was.onLoad()
..onLoad()
: Deleted, now.onAttach()
.addMargins()
: Deleted, moved back to NCStats.addSigLetters()
: Deleted, moved back to NCStats.addZeroCatch()
: Modified. Changed the looping structure for finding the sampling event and species combinations that need zeros. This should speed things up substantially. Also, modified to allow noidvar=
variables. Finally, the returned data frame has the variables (columns) in the same order as the original data frame (rather than having the order modified).ageComp()
: Modified some of the code to adjust for name changes inSummarize()
. Modified to use a formula notation.ageKey()
: Modified to using a formula notation. This removed thedl=
,cl=
, andca=
arguments. Made minor adjustments to the help pages (in addition to changes related to the argument modifications).bcFuns()
: Removed use of %nin%.capFirst()
: Modified so that ONLY the first letter is capitalized (previous version would de-capitalize the first letter in the second word but leave the rest of the letters capitalized).capHistSum()
: Modified to correct an error that occurred when computing the Method B table when a capture history occurred only once or not at all.chapmanRobson()
: Modified by adding the Hoenig et al. (1983) bias correction formula for the estimate of Z as the default option.confint.nlsBoot()
: Removed use of %nin%.discharge()
: Deleted, moved to NCStats (to reduce overhead here).histStack()
: Modified by adding a formula method (histStack.formula()
) which required adding a default method (histStack.default()
).htest.nlsBoot()
: Removed use of %nin%.lencat()
: Modified by changing to using a formula notation and adata=
argument. This means that thedf=
andcl=
arguments are no longer used. In addition, the warning about fish larger than the larger category has been turned off. The method to handle this was not changed, the warning was just turned off.lencatOLD()
: Added as an internal file to temporarily allow me not to change all functions that were affected by the changes tolencat()
. The functions that required this areemp()
andwsValidate()
.lenFreqExpand()
: Modified to deal withlencat()
change.limnoProfilePlot()
: Deleted, moved to NCStats (to reduce overhead here).mrClosed()
: Removed use of %nin%.plotBinResp()
: Modified by movingmakeColor()
internal function to FSA-internals so that it can also be used bytictactoe()
.predict.bootCase()
: Added.PSSLit
: added from RSDLit. Added from Ogle and Winfield (2009) for ruffe, Bonvechio et al. (2010) for Suwannee bass, and from Phelps and Willis (2013) for several “carp” species.PSSLitCheck()
: Added this internal file. ModifiedpssVal()
,pssCalc()
, andpssPlot()
accordingly.psdVal()
: Deprecated, will delete, becamepssVal()
.pssCalc()
: Added, wasrsdCalc()
. Modified to using a formula notation and adata=
argument.pssDataPrep()
: Added.pssPlot()
: Added, wasrsdPlot()
. Modified to using a formula notation and adata=
argument, to handle the default change forincl.zero=
inpssVal()
, and changed the defaultpss.lty=
settings.pssVal()
: Added, wasrsdVal()
. Changedincl.zero=TRUE
to be the default.recodeSpecies()
: Added.rsdCalc()
: Deleted, becamepssCalc()
.rsdLit()
: Deleted, becamePSSLit()
.rsdPlot()
: Delted, becamepssPlot()
.rsdVal()
: Deprecated, will delete, becamepssVal()
.sigLetters()
: Deleted,cld()
in multcomp has been modified to deprecate this.simLenSelect()
: Modified to deal withlencat()
change.Summarize()
: Modified by calculating the percentage of zeros for quantitative data. Also changed the names in the returned vectors or data frames to reduce capitalization, spaces, and punctuation. Removed use of %nin%.tictactoe()
: Modified by changing the way the “in balance” regions are depicted. This resulted in the addition of thebal.trans=
argument.tictactoeAdd()
: Modified by changing PSD labels to PSS.vbStarts()
: Removed use of %nin%.wetPerim()
: Deleted, moved to NCStats (to reduce overhead here).wrAdd()
: Modified. Major modifications to account for changes toWSlit
. Added thecapFirst()
check for species name. ChangedsubNA=
toremove.submin=
to make consistent withwrDataPrep()
.wrDataPrep()
: Added.wrVal()
: Deleted.WSlit
: Modified. Completely rebuilt so that quadratic equation using EmP could be incorporated into the database. Also added equations for several new species.WSLitCheck()
: Added this internal file. ModifiedwsVal()
,wrVal()
, andwrAdd()
accordingly.wsVal()
: Modified. A major modification to account for the major changes toWSLit
.wsValidate()
: Removed use of %nin%.
FSA 0.3.4
Date: Jan13
added special “fishR Vignette” sections with links to several help files.
binCI()
: Modified so that result is a matrix rather than sometimes (when only one set of CIs were computed) being a vector.catchCurve()
: Modified by minorly adjusting howconfint()
produced CIs. Also, disallowed usingparm=
when the user asks for CIs for the linear model. This allowed usingmatch.arg()
as a check for appropriateparm=
values. Modified the examples in the help file slightly and added an example of using the weighted regression method.plot.catchCurve()
: Modified so that log(catch) values less than 0 will be plotted.chapmanRobson()
: Modified by minorly adjusting howconfint()
produced CIs.depletion()
: Modified by minorly adjusting howconfint()
produced CIs and added acat()
ted output to thesummary()
method describing whether the Leslie or DeLury method was used.growthModelSim()
: Modified. Streamlined the code (removed some “junk” and unneeded redundancies). Also corrected the error where the fourth parameter in the vbSchnute and Schnute were not observed to be connected to sliders. Also changed a few default slider values. Also set the minimum age (t.min
) to 0 and cannot be over-ridden (was previously controlled by a slider). Thus, removed the minimum age slider. Also moved the maximum age slider to the bottom of the sliders. Changed the calls for the Gompertz models to use the full name (i.e.,Gompertz1
instead ofGomp1
). Changed model= to type= to be more consistent with other similar functions.hyperCI()
: Modified so that the result is a matrix rather than a vector.leslieSim()
: Modified by addinghscale=1.5
to resampling version.mrClosed()
: Modified to handle the changes inhyperCI()
andbinCI()
. Also modified messages insummary()
andconfint()
(to streamline).predict.nlsBoot()
: Added.removal()
: Modified by minorly adjusting howconfint()
produced CIs and removed acat()
ted line from the summary() method. Also, modified the “catches” for the 2- and 3-pass specific methods to disallow using anything but a vector with either 2 or 3 samples.srCobWeb()
: Added.srSim()
: Modified. Streamlined the code (lots of “junk” code that did not do anything and some unneeded redundancies) were removed. Modified the default values and the axis labels so as to produce generally more interesting simulations. Modified the graphic to show the peak recruitment level and, if a Ricker model, the stock size where the peak recruitment occurs. Changed a long series of if-else for the different parametrizations to aswitch()
. Changedmodel=
totype=
to be consistent with other srXXX functions.vbFuns()
: Modified slightly the messages ifmsg=TRUE
. Added a message for the Wang2 model and corrected an error for the Somers2 model.view()
: Modified to remove the ability to print to a window (use method built into RStudio instead). Also generalized to use for both a matrix or a data.frame (eliminates some warning messages).
FSA 0.3.3
Date: 21Dec12
Added ImportFrom for
slider()
andgslider()
from the relax package. Deleted the ImportFrom forslider()
from theTeachingDemos
package. These functions were the same but it was being deprecated fromTeachingDemos
.General: added
call.=FALSE
to severalstop()
s andwarning()
s.ageKey()
: Modified to usematch.arg()
with type=.binCI()
: Modified to useciLabel()
(see below).catchCurveSim()
: Modified in a variety of ways. First, moved the ability to control the recruitment age and the steadiness of the Z and N*changes to function arguments rather than slider controls. Second, streamlined the internal functions. Third, converted to using
gslider()instead of
slider()`. Fourth, made minor cosmetic changes to the plot. Fifth, I edited the help file somewhat.checkStartcatW()
: Added this internal function.ciLabel()
: Added this internal function.cohortSim()
: Modified in a variety of ways. First, streamlined the internal functions so that the plot can be created individually. Second, converted to usinggslider()
instead ofslider()
.confint.bootCase()
: Modified to useciLabel()
.confint.catchCurve()
: Modified to useciLabel()
.confint.chapmanRobson()
: Modified to useciLabel()
.confint.depletion()
: Modified to useciLabel()
.confint.mrClosed()
: Modified to useciLabel()
.confint.nlsBoot()
: Modified to useciLabel()
.confint.removal()
: Modified to useciLabel()
.dietOverlap()
: Added.fsa.news(), FSA.news()
: Deleted, renamed tofsaNews()
andFSANews()
.fsaNews(), FSANews()
: Renamed versions offsa.news()
andFSA.news()
.FSAsims()
: Deleted. Rarely used and not supported in non-windows and RStudio.growthModelSim()
: Modified in a variety of ways. First, streamlined the internal functions so that the plot can be created individually. Second, converted to usinggslider()
instead ofslider()
.hyperCI()
: Modified to useciLabel()
.lencat()
: Modified by using the newcheckStartcatW()
internal function.lenFreqExpand()
: Modified by adding show.summary= argument and using the newcheckStartcatW()
internal function.leslieSim()
: Modified in a variety of ways. First, combined the code fromleslieSim2()
into this function. This required deleting the use.rand= argument and adding atype=
argument. In addition, theleslieRandRun()
internal function was moved to this R document (from FSA-internals). Second, the functions were all streamlined with new internal functions. Third, converted to usinggslider()
instead ofslider()
. Fourth, made minor cosmetic changes to each plot (including adding a small legend to the oldleslieSim2())
.leslieSim2()
: Deleted. SeeleslieSim()
.lwModelSim()
: Modified in a variety of ways. First, streamlined the internal functions so that the plot can be created individually (will ultimately allow use of the manipulate package). Second, converted to usinggslider()
instead ofslider()
.mrClosed()
: Modified by removingnumdigs=
argument.mrClosed1Sim()
: Modified in a variety of ways. First, streamlined the internal functions so that the plot can be created individually. Second, converted to usinggslider()
instead ofslider()
.poiCI()
: Modified to useciLabel()
.rlp()
: Modified by replacingdecimals=
argument with digits= argument.srSim()
: Modified in a variety of ways. First, streamlined the internal functions so that the plot can be created individually. Second, converted to usinggslider()
instead ofslider()
. Third, removed the S3methods.Summarize()
: Modified by removingnumdigs
argument.TroutDietSL
: Added for use withdietOverlap()
.vbStarts()
: Modified by including a catch for negative starting values of K or starting values of Linf that are 50% smaller or larger than the observed maximum length in the data set.
FSA 0.3.2
Date: 1Dec12
Changed R dependency to >2.14.0.
Added a ImportsFrom for knitr (purl() in swvCode() added below).
Moved gdata to an ImportsFrom from Suggests. Needed for nobs() in ci.fp1() which is used in fitPlot.ONEWAY and drop.levels() used in the example in RuffeWs.
Deleted dependency on FSAdata.
Added the following data files from FSAdata: BluegillJL, BluegillLM, BrookTroutTH, CodNorwegian, CutthroatAL, Ecoli, KS2D_NR, LMBassWs, Mirex, PikeNY, PikeNYPartial1, RSDlit, RuffeWs, SMBassLS, SMBassWB, SpotVA1, StripedBass1, VBGMlit, WalleyeGerowLW, WR79, WSlit. This allowed removing the depending on FSAdata.
.onLoad()
: modified slightly with a suggestion from Simon Urbanek to eliminate a warning on RCMD Check (that showed up on rforge.net, but not locally).addMargins()
: added from NCStats.addSigLetters()
: added from NCStats. Modified to allow the use of a result from sigLetters() in lets=.`bootCase methods: added from NCStats. Needed to import bootCase from car.
hist.formula()
: added from NCStats.lencat()
: made some warning messages more concise.lsmean()
: deleted. Functionality is replaced by lsmeans() in the lsmeans package.psdVal(), rsdCalc(), rsdVal(), rsdPlot()
: added code to eliminate “global bindings” note when performing RCMD Check. Solutions came from Adrian Alexa’s response to this question: https://groups.google.com/forum/?fromgroups=#!topic/cambridge-r-user-group/c7vf8o3QwDosigLetters()
: added. Hopefully this will eventually be replaced by changed to cld() in the multcomp package.Summarize()
: made some warning messages more concise.swvCounts(), swvPvalue(), swvANOVA(), swvGLHT(), swvREG(), swvHtest(), swvCode(), swvFinish()
: added from miscOgle.view()
: added from NCStats.wsVal(), wrAdd()
: added code to eliminate “global bindings” note when performing RCMD Check. Solutions came from Adrian Alexa’s response to this question: https://groups.google.com/forum/?fromgroups=#!topic/cambridge-r-user-group/c7vf8o3QwDo
FSA 0.3.1
Date: 25Nov12
Switched to using the Project mode in RStudio.
Switched to using semantic versioning for the version number (which means that the hyphen before the last number has been replaced by a period).
Switched to using roxygen to construct help files.
Set some values =NULL to eliminate “global bindings” warning when performing the RCMD check – emp(), pos2adj(), psdVal(), simAgeBias(), srStarts(), vbStarts(), and wsValidate(). This did not work for the WSlit and RSDlit problems in rsdCalc(), rsdPlot(), rsdVal() and wsVal().
Added an importFrom for lineplot.CI()) and se() from sciplot (used in fitPlot()).
Added an importFrom for outlierTest() from car for use in residPlot().
Deleted importFrom for alias() from stats (was used in wlgm()).
Deleted importFrom for boxcox() from MASS (was used in wlgm()).
Deleted depends on NCStats (moved many functions here (see below) and then made NCStats depend on FSA).
Deleted suggests for exactRankTests (apparently no longer needed).
Moved nlstools from depends to suggests (only needed for an example in confint.nlsboot that is not run because of the time required).
Moved plotrix from depends to importsFrom for color.scale(), plotCI(), and thigmophobe().
Moved quantreg from depends to importsFrom for rq() (used in emp()).
Attempted to move reshape to importsFrom but had problems with missing is.formula() from plyr.
ageComp()
: modified class name to “ageComp” from “AgeComp”.capFirst()
: added.catchCurve()
: modified class name to “catchCurve” from “CC”.chapmanRobson()
: modified class name to “chapmanRobson” from “CR”.coefPlot()
: deleted (Weisberg’s LGM is now out-dated).depletion()
: modifed class name to “depletion” from “Depletion”.discharge()
: modified class name to “discharge” from “StrmDschrg”.emp()
: modified class names to “empXX” from “EMPxx”.fitPlot()
: added from NCStats.FroeseWs()
: modified class name to “FroeseWs” from “FROESE”.histStack()
: added.hoCoef()
: added from NCStats.ks2d()
: modified class name to “ks2d” from “ks2d”.ks2dp()
: modified class name to “ks2dp” from “ks2dp”.legendHelp()
: added (internal) from NCStats.mrClosed()
: modified by moving the two internal functions – mrc1() and mrc2() – to inside mrClosed, moving the two internal functions – ci.mrc1() and ci.mrc2() – to inside confint.mrClosed(), removed the “MRC1” and “MRC2” classes, changed the “MRC” class name to “mrClosed”, and added a catch to plot.mrClosed() to stop if the user tries to plot with single-census data.mrOpen()
: modified class name to “mrOpen” from “MRO”.plotBinResp()
: added from NCStats.plotH()
: minor modifications to the Rd file.pos2adj()
: modified the labels for the positions by including full names for all directions, eliminating the single letters for the four main directions, but also leaving the four “off” directions as abbreviations.psdVal(), rsdVal(), rsdCalc(), rsdPlot()
: modified to use capFirst so that the user does not need to focus on capitalization of the species name.removal()
: modified class name to “removal” from “Removal”.residPlot()
: added from NCStats.rlp()
: modified class name to “rlp” from “RLP”.Summarize()
: added from NCStats.typeoflm()
: added from NCStats.wetPerim()
: modified class name to “wetPerim” from “WetPerim”.wlgm()
: deleted (Weisberg’s LGM is now out-dated).wsValidate()
: modified the classnames to “willis” from “WILLIS” and “empq” from “EMPQ”. Also made minor modification because of class name change in FroeseWs()ycPlot()
: deleted (Weisberg’s LGM is now out-dated).
FSA 0.3-0
Date: 8-Nov-12
Moved several functions from NCStats that are used quite often for fisheries analyses. Ultimately, I want to remove the dependency to NCStats.
Deleted an importFrom for gtools, created an internal odd() instead.
Added an importFrom for gplots, to get rich.colors() for chooseColors().
Added an importFrom and removed an import for NCStats.
ageComp()
: modified to use internal odd(), rather than odd() imported from gtools.binCI()
: moved from NCStats.chooseColors()
: copied from NCStats (i.e., same function still in NCStats).confint.nlsBoot()
: moved from NCStats.fact2num()
: moved from NCStats.htest()
: copied from NCStats (i.e., same function still in NCStats).htest.nlsBOot()
: moved from NCStats.hyperCI()
: moved from NCStats.ks2d()
: moved from NCStats.ks2dp()
: moved from NCStats.ksTest()
: moved from NCStats.lagratio()
: moved from NCStats.`lsmean(), and related internals: moved from NCStats.
mrClosed()
: modified so as not to depend on ci.t() from NCStats.plotH()
: moved from NCStats.poiCI()
: moved from NCStats.popSizesPlot()
: moved from NCStats.pos2adj()
: moved from NCStats.rcumsum()
: moved from NCStats.rsdPlot()
: modified to handle situations where substock fish are not present in the data. Thanks to Max Wolter for pointing out this issue.Subset()
: copied from NCStats (i.e., same function still in NCStats).
FSA 0.2-8
Date: 21Jun12
Switched to compiling under R version 2.14.1 (64-bit).
Changed license specification from “GPL version 2 or newer” to “GPL (>= 2)” to avoid warning on check.
Added a suggestion for gdata to fix warning with capHistConver.rd (see below).
`capHistConvert.rd: Modified the examples to not use “gdata::combine” by adding a “require(gdata)” in the examples and suggesting gdata in the description file.
fishR()
: Added.simAgeBias()
: changed width to widths in layout() to avoid warning on check.simLenSelectM()
: changed width to widths in layout() to avoid warning on check.
FSA 0.2-7
- Date: 2Mar12
-
.onLoad()
: Modified. Moved the startup message into packageStartupMessage() in hopes of eliminating the warning when checking the package. -
catchCurveSim()
: Modified. Changed max.age= to 15 (from 10). Slightly changed the labels related to ‘Z Steady’ and ‘N* `Steady’. -
chapmanRobson()
: Modified. Corrected a bug for when the ages2use= argument contains ages that are not found in the data. Thanks to Eric Berglund for finding this bug. -
psdVal()
: Modified. As described for rsdVal(). -
rsdCalc()
: Added. -
rsdPlot()
: Modified. Modified to reflect changes in rsdVal(). -
rsdVal()
: Modified. Removed the metric= and mm= arguments in favor of a new argument, units=, where the user chooses the units as a string. This streamlines, for example, the selection of mm. The modifications also resulted in mm being the default. Also, removed the appended units names from the names attribute – i.e., “stock” rather than “stock.mm” or “stock.in”. -
wrAdd()
: Added. -
wrVal()
: Modified. As described for wsVal(). -
wsVal()
: Modified. Removed the justcoef= argument. Added the ab= and comment= arguments. Also, removed the appended units names from the names attribute – i.e., “int” rather than “int.E” or “int.mm”.
FSA 0.2-6
Date: 1Oct11
Switched to compiling under R version 2.13.1 (32-bit).
Removed importFroms that were required for updateFSA().
Removed splines package from imports list (not needed).
capHistConvert()
: Modified. Modifications to handle changes to capHistSum().capHistSum()
: Modified. Changed the returned list structure. First, caphist.sum is now caphist. Second, if only two samples are given, then only caphist and sum, where sum is a data frame of the required summaries for the Petersen method, are returned. If more than two samples are given, then caphist, sum, methodB.top, and methodB.bot are returned. Note that there is n* `longer an item labeled as schnabel.sum returned.mrClosed()
: Modified. Modifications to handle the changes to capHistSum(). Also modified so that if only two samples were summarized in a CapHist object and that object is supplied as the first argument to mrClosed() then the Petersen method will find the data it needs from the CapHist object.rsdPlot()
: Modified. Modified calls to min() and max() to include na.rm=TRUE. This fixes bug related to vectors with missing values.updateFSA()
: Removed.vbFuns()
: Modified. Added ‘Somers2’ option to type= argument.vbStarts()
: Modified. Added ‘Somers2’ option to type= argument.
FSA 0.2-5
Date: 19Aug11
Modified description file to show my e-mail address.
Added
cnvrt.coords()
as an ImportFrom TeachingDemos. Needed forsimAgeBias()
andsimLenSelectM()
.ageKey()
: Modified. Length categories in the length sample, if none are provided in len.breaks=, are constructed from the length categories present in the age-length key rather than guessing at a starting value and width and creating evenly spaced categories. This should fix the bug that occurred when an age-length key was originally created with even length categories but the key is so sparse that the length categories with actual data are uneven. Also, changed the error catching so that the routine is stopped if a length in the length sample is smaller than the smallest length category in the age length key but will only elicit a warning if the largest length is greater than the largest length category in the age-length key.chapmanRobson()
: Modified. Changed to have a .default and .formula method.chapmanRobson.default()
: Added.chapmanRobson.formula()
: Added.FSAsims()
: Modified. Corrected calls to growthModelSim() for von Bertalanffy models.growthModelSim()
: Modified. Changed from modeling “size” to modeling “length” (or “weight” for just “vbTypicalW” and “vbOriginalW”). Changes required adding two new model options – “vbTypicalW” and “vbOriginalW” – for modeling weights and leaving all of the original model options as models for length. Added a max.wt= argument for use when modeling weights. Removed “vbBevertonHolt” as a model option because it is covered by “vbTypical” and was not actually implemented. Changed order of models so that “vbTypical” rather than “vbOriginal” is the default model used. Made slight cosmetic changes to slider bar options (e.g., “to” became “t_0”). Made changes and some corrections to the .Rd file.rsdPlot()
: Added. Still needs more thorough proofing.simAgeBias()
: Added.simAges()
: Added.simApplyAgeBias()
: Added.simLenFromAge()
: Added.simLenSelectM()
: Added.simLenSelectP()
: Added.vbComp()
: Modified. Streamlined the code. Changed the t= argument to ages= to remove any possible confusion with t(). Removed the option to model over ages provided in the (previous) t= argument. Instead the ages= argument can be used to represent the maximum age to model to. The ages= argument can be a vector such that each simulation can have a different set of ages over which the model is evaluated. This allows for more realistinc modeling.
FSA 0.2-4
Date: 15Jun11
Switched to compiling under R version 2.13.0.
vbFuns()
: Modified. Modified Wang’s formulas to be for length increments. Added a length increments version to Faben’s method (“Fabens2”).
FSA 0.2-3
Date: 18Apr11
Updated citation file.
Added importFrom for tools and utils packages.
ageKey()
: Modified. Added a len.breaks= argument so that an age-length key with variable widths for the length categories can be used. Added an example to the Rd file to illustrate the use.confint.MRC()
: Modified. Replaced numdigs= argument with digits= argument. Retained numdigs= for backwards compatability.`lwPredsComp.Rd: Modified. Replaced use of lgrep() with grepl() because of change in NCStats.
removal()
: Modified. Changed order of items printed in the returned list. In addition, if the type is one of Zippin, CarleStrub, or Seber3 then a set of intermediate values (k, T, and X) is also included in the returned list. The first change is cosmetic, the second change was made to help with some troubleshooting. Added an argument to allow choosing the method of contructing SE for the CarleStrub method. Created an internal function for computing the Zippin SE method to allow easier use with the other methods. The help file was changed to make note of the non-estimable SE when No=T in the CarleStrub method under certain circumstances. These changes result in a different SE being reported if the CarleStrub method is used and CS.se=“Zippin” (the default) is used. The “old” results can be obtained by using CS.se=“Alternative”. I have yet to find a solid references for this SE.summary.MRC()
: Modified. Replaced numdigs= argument with digits= argument. Retained numdigs= for backwards compatability.tictactoeAdd()
: Modified. Added capability of labeling points.updateFSA()
: Added. Had to add an importFrom from the tools package.vbFuns()
: Modified. Added Wang and Wang2 functions.
FSA 0.2-2
Date: 3Mar11
moved to compling under 2.12.1 (32-bit)
changed dependency to >2.11.1
ageComp()
: modified dramatically. Primarily added the ability to test for bias by comparing the mean of the y-structure to the value of the x-structure with t-tests adjusted for multiple comparisons. Modified the code to allow this to happen more efficiently and to output results in the plot() and summary() methods. Also modified the plot() method so that the default is to just show the confidence intervals rather than showing the CIs and the range of the data (use show.rng=TRUE to see the old plot). Also changed the CI colors so that significant differences are shown in red (default) and non-significant differences are shown in blue (default) (set both col.err= and col.err.sig= to the same color to get the old plot).lencat()
: modified so that vname=NULL is the default. This will default to using “LCat” as the variable name (as in the previous version). However, modified the way the vname is appended to the new data frame so that if vname already exists in the data frame a new name will be used (vname plus some number).removal()
: added just.ests= argument and changed the ests part of the returned value to be a vector rather than a matrix. Both changes allowed for better use of lapply() for computing the removal estimates on more than one group. Changed from an error to a warning for situations where the method could not compute population estimates (i.e., because the population was not depleted). In addition, NAs are returned in situations where population estimates can not be made. An example of computing the removal estimate for more than one group was added to the .rd file. Thanks to Jon Bolland for asking the question that motivated these changes.
FSA 0.2-1
- Date: 31-Jan-11
-
catchCurve()
: Modified by adding a formula method. This required moving the original code into a default method and changing the age= argument to x=. -
lenFreqExpand()
: Modified by adding the additional= argument (which required modifying the total= argument and adding an error check for the situation where the total fish to assign lengths is not greater than the number of fish in the measured subsample). -
.onLoad()
: modified. Changed to include version number of loaded version. -
vbFuns()
: Modified by adding simple= argument. Added a ‘Somers’ seasonal growth oscillations model and ‘Fabens’ model for tag-recapture data. Also added, but did not check, a ‘Laslett’ ‘double von Bertalanffy’ model. -
vbStarts()
: Modified by setting a catch to return a single root for st0 or sL0 if the polynomial root found a double root. Thanks to Giacom* `Tavecchia for identifying this error. Added a ‘Somers’ seasonal growth oscillations model.
FSA 0.2-0
- Date: 23-Sep-10
-
bcFuns()
: Added. Still needs to be thoroughly proofed. -
FSAsims()
: Modified to reflect srSim() change described below. -
listSpecies()
: Moved internal function out of being within RSDval() and WSval() and then added an argument for the data frame containing the species names. The hope was that this would correct the “n* `visible binding” warnings when performing RCMD check but it did not. -
srModels()
: Renamed from stockRecruitModels() to be more consistent with the rest of the stock-recruitment functions. -
srSim()
: Renamed from stockRecruitSim() to be more consistent with the rest of the stock-recruitment functions. -
vbDataGen()
: Modified use of minAge argument – will now always back-calculate to age-1 but minAge denotes the minimum age-at-capture that will be modeled. Deleted use of cfAge variable in code. -
vbModels()
: Added.
FSA 0.1-6
- Date: 23-Aug-10
- completed changing naming convention to “camel” type – e.g.,
stockRecruitModels()
rather thanstock.recruit.models()
. -
ageComp()
: renamed from age.comp(). -
ageKey()
: renamed from age.key(). -
capHistConvert()
: renamed from caphist.convert(). -
capHistSum()
: renames from caphist.sum(). -
catchCurve()
: renamed from catch.curve(). -
catchCurveSim()
: renamed from cc.sim(). -
chapmanRobson()
: renamed from chapman.robson(). -
coefPlot()
: renamed from coefplot(). -
cohortSim()
: renamed from cohort.sim(). -
emp()
: modified for name changes in NCStats. -
FroeseWs()
: modified for name changes in NCStats. -
FSASims()
: modified by updating to new names of simulation functions. -
gConvert()
: renamed from g.convert(). -
gReshape()
: renamed from g.reshape(). -
growthRadPlot()
: renamed from growrad.plot(). -
lenFreqExpand()
: renamed from len.freq.expand(). -
leslieRandRun()
: renamed from leslie.rand.run(). This is an internal function. -
leslieSim()
: renamed from leslie.sim(). -
leslieSim2()
: renamed from leslie.sim2(). -
limnoProfilePlot()
: renamed from limnoprofile.plot(). -
lwModelSim()
: renamed from lwmodel.sim(). -
lwPredsComp()
: renamed from comp.lwpreds(). -
mrClosed()
: renamed from mr.closed(). Modified for name changes in NCStats. -
mrClosed1Sim()
: renamed from mr.closed1.sim(). -
mrOpen()
: renamed from mr.open(). -
psdVal()
: renamed from PSDval(). -
rcumsum()
: deleted. Moved to NCStats package. -
rpl()
: modified for name changes in NCStats. -
rsdVal()
: renamed from RSDval(). -
tictactoeAdd()
: renamed from tictactoe.add(). Modified for name changes in NCStats. -
vbComp()
: renamed from vb.comp(). -
wetPerim()
: renamed from wetperim(). -
wlgm()
: modified for name changes in NCStats. -
wrVal()
: renamed from WRval(). -
wsVal()
: renamed from WSval(). -
wsValidate()
: renamed from validateWs(). Also modified for name changes in NCStats. -
ycPlot()
: renamed from ycplot().
FSA 0.1-5
Date: 20Aug10
moved to compiling under 2.11.1.
started changing my naming convention to “camel” type – e.g.,
stockRecruitModels()
rather thanstock.recruit.models()
. In this version, I am only changing the functions that I am working on. I will change the rest in the next version.added an importFrom for
nlme
asgroupedData()
was needed forvbDataGen()
.age.key()
: Modified the way that the length categories in the age-length key is determined. Previously I just used the rownames found in the key, but this allows lengths with a row of all NA or zeros to be considered as a length found in the age length key. Now the row sums are found and the sums with NaN or 0 are removed. In addition, I added a warning message if the row sums d* `not sum to 1.caphist.convert()
: Modified such that an “RMark” type can be output. 0 chapmanPlot()`: Added.growmodel.sim()
: Deleted. Changed to growthModelSim(). See below. 0 growthModelSim()`: Added. Initially a renaming of growmodel.sim(). However, the model names were changed to be more consistent with other functions and a method for the Mooij et al. paramaterization was added.growthModels()
: Added.srFuns()
: Added.srStarts()
: Added.stock.recruit()
: Deleted, along with all related generics.stock.recruit.sim()
: Deleted. Changed to stockRecruitSim(). See below.stockRecruitModels()
: Added.stockRecruitSim()
: Initially a renaming of stock.recruit.sim. However, added a “formula” method which required adding generic and default methods. Changed the order of the S and R arguments. Re-ordered, modified, and added models in accordance with the vignette. Updated the Rd file to reflect these changes and made a very slight modification to the examples and added an example to illustrate the use of the formula. Found decent default values for simulations.stockRecruitSim.default()
: Added. See above.stockRecruitSim.formula()
: Added. See above.vbDataGen()
: Added.vbFuns()
: Added.vbStarts()
: Added.walfordPlot()
: Added.
FSA 0.1-4
- Date: 6Jun10
-
growmodel.sim()
: added an option to fit the “original” von Bertalanffy function. Also added more “mis-spelling” options to the other model names.
FSA 0.1-2
Date: 17Dec09
moved to compiling under 2.10.1.
`added a dependency to tcltk so that simulators would work properly upon load of FSA.
age.comp()
: added xlim= and ylim= arguments so user can control x- and y-axis limits if desired. Changed code so that better choices for axis limits are selected automatically if xlim and ylim are both NULL. Changed code so that the “extra” vertical space added when show.n=TRUE AND ylim is NLL is 10 percent of the y-axis range rather than just an extra one unit. Allowed function to work better with xaxt=“n” and yaxt=“n” in case the user wants to create their own axes. Removed a par() setting within the plotting function. Thanks to David A. Hewitt for pointing out the deficiences with the axis labeling.age.key()
: corrected how the age column is labeled if the column did not already exist in the data frame. Was also indirectly modified with lencat() modification. Also modified to stop and warn the user if the length sample has fish whose lengths are not present in the length-age key (previously there was a warning, but then ultimately there was an error).catch.curve()
: added a use.weights= argument to allow using weights in the catch curve regression as proposed by Maceina and Bettoli (1998).chapman.robson()
: changed S result from a proportion to a percentage (i.e., * `100).comp.lwpreds()
: added center.value= argument to allow centering in the regressions. Added an example to the .rd file.fsa.news()
: added to show user the NEWS file.FSA-package()
: updated.growmodel.sim()
: added the ability to use a formula and data= argument. Made the model argument not have a default value. Corrected an error when both x and y were NULL. Corrected errors in the Rd file. Thanks to Jacek Szlakowski for pointing out these problems.lencat()
: modified so that an “extra” last length category (with no fish in it) was not included when as.fact=TRUE and drop.levels=FALSE is used. This should correct the “problem” of an extra all-NA row in the age-length keys.tictactoe.add()
: added to the namespace export list. Changed order of items listed in the ci.type= argument to match that of bin.ci() from NCStats.
FSA 0.1-1
- Date: 15Apr09
- added a namespace
- removed dependencies and changed to imports … left plotrix and quantreg as dependencies (they do not have a namespaces). left reshape as a dependency because of it’s dependency on plyr.
-
.FirstLib()
: removed (changed to .onLoad() because of namespace). -
age.comp()
: modified by removing reference to “valid.n” (which is no longer used because of changes to Summarize() in NCStats). Modified to only attempt to compute SE if n>1 and st. dev > 0. -
comp.lwpreds()
: added. Exported in namespace. -
g.convert()
: fixed major error in how the function converted increments to radii. -
growrad.plot()
: added. Exported in namespace. -
mr.closed()
: modified by changing library(Rcapture) to require(Rcapture) in help page. -
plot.EMPQ()
: modified by changing objectprobtoxprob. - `emp.rd: fixed an incorrect use of Summary() (changed to summary()).
-
validateWs()
: converted sign.slope variable in the Willis method to a factor to deal with situations where all results were positive or negative. - `wlgm.rd: fixed the summarization example (cast() did not work with Summarize().
FSA 0.0-14
- Date: 20Dec08
-
age.comp()
: streamlined code (put bias and difference plots in same function, used grconvertY for show.n, used plotCI for range intervals, caught and corrected CI problems when n=1 or SD=0). N* `functionality difference, just improved code. -
growmodel.sim()
: modified by determining some of the slider values from the data when x= and y= arguments are not null. This makes the graph more useful for determining starting values in nls() modeling.
FSA 0.0-13
Date: 6Dec08
added a dependency to quantreg (for
rq()
inemp()
).added CITATION file.
age.comp()
: modified the plot() function by adding a ‘difference’ method to the what= argument. This allows creation of an “age-difference” plot as used in Muir et al. (2008).caphist.convert()
: modified by adding an event.ord= argument to allow the user to identify the order of the event names when converting from a capture-by-event type. This is particulary useful if the event names are things like ‘first’, ‘second’, ‘third’, ‘fourth’ because R orders these alphabetically which adversely effects the correctness of the capture histories.compute.Ws()
: moved this internal function out of validateWs() to be a stand-alone internal function. This allows usage with animation routines.discharge(), summary.StrmDschrg(), plot.StrmDschrg()
: added.emp()
: added probs= argument result to return list. Corrected ylab in plotting methods. Added a predict method. Added a method= argument that allows choice of using linear regression or quantile regression to find the Ws equation. Modified objects in the return list (added rawdata component) and added the back-transformed Wq value in regdata (for comparison with Gerow’s Excel tool). Changed code for finding summarized dataframes inside the function by using cast() from the reshape package – this resulted in a 3x reduction in system.time().mr.closed()
: modified by correcting error in the multiple census methods if M, n, and m (but not R) were supplied. Also corrected an error in the examples.rlp()
: added probs= argument result to return list. Corrected ylab in plotting methods. Added a predict method.PSDval(),RSDval()
: added a check for missing species name so that the user can just type PSDval() to get the list of possible species names. Also added a check to see if RSDlit was already loaded.validateWs()
: added probs= argument result to return list. Corrected ylab in plotting methods. Added a predict method. Modified EmpQ() internal function to use predict() methods for emp and rlp objects. Streamlined some of the code by including a compute.Ws() internal function and using the update() function. Changed code for finding summarized dataframes inside the function by using cast() from the reshape package – this resulted in a 1.5x reduction in system.time().wetperim(),summary.WetPerim(),plot.WetPerim()
: added.wlgm()
: major changes included moving some internal functions outside of wlgm(), adding the ability to use the data= argument, and adding the ability to fit weighted regressions on the summary statistics. Other minor changes were also made. Updated the .Rd file.WSval(),WRval()
: added a check for missing species name so that the user can just type WSval() to get the list of possible species names. Also added a check to see if WSlit was already loaded.
FSA 0.0-12
- Date: 15Jul08
-
.First.lib
: Added -
add.zerocatch()
: added this function to add zeros to catch records where a species of fish was not caught. -
limnoprofile.plot()
: added this function to simplify constructing plots of depth versus limnological measure with the depth decreasing from top to bottom. -
rlp()
: changed default qtype= to 8 (from 7). Added a probs= argument to allow other than 75th percentile calculations. -
emp()
: updated the help page. Added a logical for if p.n.low does not exist when using cutoff.tail. Renamed items in the output list. Added a table of number of individuals per length category to output list. Added a probs= argument to allow other than 75th percentile calculations. Added its own generics – rather than relying on the rlp() generics. -
FroeseWs()
: added this function, and its generics, to perform the standard weight equation calculation as proposed by Froese (2006). -
validateWs()
: added this function, and its generics, to perform the Willis and EmpQ methods for assessing length bias in the standard weight equations. Added a probs= argument to allow other than 75th percentile calculations. Added a mean= argument to allow use of means rather than quantiles. Modified to accept an object of class FROESE.
FSA 0.0-11
Date: 15May08
Moved to RForge.net.
changed to R2.7.0.
added a dependency to
Rcapture
(for the example incaphist.convert()
).anova.RLP()
: added this function to produce the anova table for the standard weight equation.caphist.convert()
: added this function convert between various capture history formats (FSA,event,MARK,Rcapture).emp()
: added this function, and its generics, to perform Gerow’s EmP method for obtaining a standard weight equation.fit.plot.RLP()
: added this function.plot.RLP()
: modified so that color palette with a gradient rather than only a solid color can be used for the populations. In addition, added order.pop= argument that will order the populations from smallest to largest predicted with in the first length interval. When used with the color gradients this will make it easier to see which populations cross over other populations.rlp()
: modified function so that the user can choose to use any-mm length intervals rather than having 10-mm hardwired. Modified output in list somewhat to more closely match the output of emp().
FSA 0.0-10
- Date: 1May08
-
lencat()
: Modified by adding an as.fact= argument that allows the user to decide if the resulting variable should be returned as a factor variable or not. The default is set to return as a factor variable. This allows tables of the new variable to include zeros for levels of the new variable that contain no individuals. This makes some RSD/PSD (and likely age-length key) calculations simpler. Also added a drop.levels= argument to allow the user to drop unused levels if so desired. -
mr.closed()
: This function is a combination of the old mr.closed1() and mr.closed2(). It also allows the user to compute single census estimates with multiple sub-groups in the data (i.e., length- or age-classes). The function also allows the user to compute an overall population esitmate of multiple sub-groups are present and an overall SE if the incl.SE=TRUE is used. It also corrects the SE computations implemented in version 0.0-9. This change caused the construction of our internal functions – mrc1, mrc2, ci.mrc1, and ci.mrc2. -
mr.closed1()
: removed this function. Use mr.closed() instead. -
mr.closed2()
: removed this function. Use mr.closed() instead. -
PSDval()
: Added mm= argument so that metric result can be returned in mm. Also added incl.zero= argument that will include a zer* `value in the first position in the vector; this is useful for when creating PSD/RSD values. -
rcumsum()
: Added this function (from NCStats). -
RSDval()
: See PSDval description.
FSA 0.0-9
- Date: unknown
-
age.comp()
: Corrected SE calculation used to construct the CIs. Changed the CI plotting routine to use plotCI in plotrix package – this puts lines rather than points on the ends of the CIs. Added a check for computing SDs and CIs for when n=1 or when all measurements are the same. This reduces (eliminates?) the number of warnings that are given. -
catch.curve()
: added na.rm=TRUE arguments to min() and max() in plot.CC(). Changed type= argument so that “params” is the default rather than “lm”. This makes it more consistent with other simulation programs. -
cc.sim()
: Put in catch for situations where the CV for No and Z were equal to zero. Originally, the program attempted to computed a random number from a normal distribution with a standard deviation of zero. This corrected the problem of n* `lines appearing unless the CVs were greater than zero. -
ch.convert()
: STARTED A FUNCTION to CONVERT B/W CAPTURE HISTORY FORMATS. N* `RD FILE YET. -
depletion()
: Moved type= argument to third position. Will more easily allow type=“Leslie” as a default (i.e., can just enter catch and effort vector. -
FSAsims()
: Added a “mark-recap” menu section. Added a chapman 1-sample M-R item to the menu. -
leslie.sim()
: corrected the conditionals on p.surv and r.prop so that it asks if any not the first value is less than 1. This corrects the problem of R returning a large number of warnings. -
leslie.sim2()
: corrected the call to depletion() so that the type of model (“Leslie”) was the third rather than the first argument. This was caused by a change in the usage of depletion in previous version changes. -
mr.closed1()
: Modified output list to include an estimate of the variance as described in Ricker(1975). -
summary.MRC1()
: Modified output so that (1) the given information is a little easier to read, (2) the population estimate is returned in a matrix, (3) the SE from Ricker(1975) can be included in the outputm, and (4) a label can be placed on row for the matrix output. The purpose of these changes was to allow the SE to be computed and to allow future functions to more flexibly use the output.
FSA 0.0-8
Date: unknown
changed some to in RD files. Changed most hard-wired quotes to or in RD files. Changed some text-based equations to more latex-based equations in or markups. This fixed the Latex compilation problems that I was having when using RCMD check.
age.comp()
: Removed single-letter values from the what= argument. Will rely on partial matching.age.key()
: Changed default name for new column with ages from “Age” to “age”. Added example.coefplot.WLGM()
: Changed to use plotCI() from the plotrix package. This removed the for loop that I had programmed. This also added the sfrac= and gap= arguments. Updated the RD.depletion()
: Removed single-letter and lower-case values from the type= argument. Will rely on partial matching.lencat()
: Changed d argument to df.lenfreq.expand()
: Changed d argument to df.mr.open()
: Added match.arg functionality to the ci.type and phi.type arguments.plot.RLP()
: Added “object <- x” to allow x to be used inside the curve() function without confusion.removal()
: Removed abbreviated values from the type= argument. Will rely on partial matching.rlp()
: Added examples from Murphy et al. (1990)stock.recruit()
: Removed abbreviated values from the type= argument – will rely on partial matching. Changed sumtype argument to what.stock.recruit.sim()
: Changed model argument to type and added param argument (to make compatible with stock.recruit). Moved R and S arguments to beginning of argument string (more compatible with stock.recruit). STILL NEED to ADD SECOND RICKER MODEL.vb.comp()
: Changed d argument to df.wlgm.RD()
: Added example code. Added some details.
FSA 0.0-7
Date: unknown
changed to compiling under R 2.6.1.
added FSA.R file that loads the required librarys.
now depends on
MASS
package because of the creation of theboxcox.WLGM()
function and on theplotrix
package for elements ofycplot()
.add.radcap()
: Created this function to add the radius-at-capture to a one-fish-per-line data frame of increments.age.comp()
: Added amatch.arg()
call for the what argument.age.key()
: Corrected=T
or=F
to=TRUE
or=FALSE
.cc.sim()
: Corrected the use ofz.param
with correct use ofZ.param
.coefplot()
: A new generic function for plotting coefficients from a Weisberg Linear Growth Model analysis.g.convert()
: Changed arguments from data and measure.var to df and in.var. Includedmatch.arg()
for the type argument. Moved type argument as it now has a default. Added the in.pre argument that allows the user to identify all input variables by a common prefix rather than having to list them out in in.var. Added the out.pre argument that allows the user to control the prefix for the newly created variables in the output data frame. Updated help file.g.reshape()
: Changed arguments from data and prefix to df and in.pre. Deleted the measure.var argument. Moved new in.pre argument forward and na.rm argument backward in the argument list. Used in.pre to identify the measure.var variables to send to the melt function. If id.var is left blank (and in.pre is not) then id.var is the remaining variables not identified by in.pre. The val.name argument was set equal to in.pre as the default.leslie.sim()
: Corrected call to oldleslie()
function with a correct call todepletion()
function withtype="Leslie"
.leslie.sim2()
: Corrected two calls to oldleslie()
function with correct calls todepletion()
function withtype="Leslie"
.leslie.rand.run()
: Moved R Documentation alias to FSA-internal.RD.mr.closed2()
: Forced the function to use thelowess()
function in the stats rather than the gplots package (which is loaded fromNCStats
). Also changed theloess.f
argument to f and added the iter argument for sending tolowess()
.confint.MRO()
: Put in a logical catch when printing the confidence intervals because ifci.type="Manly"
then CIs for B are not computed.summary.MRO()
: Put in a logical catch when printing the estimates because ifci.type="Manly"
then SEs are not computed.plot.RLP()
: Corrected=T
or=F
to=TRUE
or=FALSE
.wlgm()
: Created a method with a number of generics (alias, anova, boxcox, coef, coefplot, confint, ycplot) for performing the Weisberg Linear Growth Model.ycplot()
: A new generic function for creating a year-class plot for the Weisberg Linear Growth Model analysis.
FSA 0.0-6
- Date: unknown
-
agebias.plot()
: deleted and replaced with agecomp and plot.AgeComp functions. -
agesunflower.plot()
: deleted and replaced with agecomp and plot.AgeComp functions. -
agecomp()
: a new function that, along with its extractor functions, combines all of the functionality of the oldage.tests()
,age.symmetry()
,agebias.plot()
, andagesunflower.plot()
. Allows for a more seamless comparison of ageing reads. -
plot.AgeComp()
: an extractor function for objects saved from theagecomp()
function. This replaces the oldagebias.plot()
andagesunflower.plot()
functions. -
summary.Agecomp()
: an extractor function for objects saved from theagecomp()
function. This replaces the oldage.tests()
andage.symmetry()
functions. -
age.symmetry()
: deleted and replaced withagecomp()
andsummary.AgeComp()
functions. -
age.tests()
: deleted and replaced withagecomp()
andsummary.AgeComp()
functions. -
cc.sim()
: modified graphic to (1) include assumption violation labels on top of the graph and (2) label y-axis with “log(Catch)” rather than “ln(Catch)”. -
delury()
: deleted and replaced withdepletion()
function. See notes fordepletion()
function. -
depletion()
: created a new function that performs the Leslie or Delury method as determined by a user-defined argument to type. This function replaces the oldleslie()
anddelury()
functions. All extractor functions for the class “LeslieDelury” have now been changed to class “Depletion”. -
plot.Depletion()
: correct xlab so that it defaults to “Cumulative Effort” for the Delury method. -
leslie()
: deleted and replaced with depletion function. See notes for depletion function. -
leslie.sim()
: modified graphic to include assumption violation labels on top of the graph. -
mr.open()
: modifiedest.N()
internal function so that N is set equal to n if N<n. In other words, if the sample size at time i is larger than the estimated population size at time i then the estimated population size is set equal to the observed sample size. This corrects the problem of theN.se
calculation attempting to take the square root of a negative number causing themr.open()
function to shut down. -
pass.removal()
: changed name to removal. -
removal()
: new name for old pass.removal function. -
rlp()
: new name for old (upper-case) RLP. -
RLP()
: changed name to (lower-case) rlp.