Category Archives: Fisheries Science

Posts that are related to the analysis of typical fisheries science data (e.g., growth, mortality, abundance).

Efficiently Adding Gabelhouse Lengths and Relative Weights to a data.frame (using dplyr)

In this post on RPubs, I demonstrate how to use new functions (psdAdd() and wrAdd()) in the FSA package, along with functions in the dplyr package, to efficiently add Gabelhouse length category and relative weight variables for all species in … Continue reading

Posted in Fisheries Science, R | Tagged , , , , , , , | Leave a comment

Changes to FSA — Size Structure

I have added a (very rough) first draft to the Size Structure chapter of the forthcoming Introductory Fisheries Science with R book on the book’s fishR webpage.  Accompanying this chapter are major changes to all of the proportional size distribution … Continue reading

Posted in Administration, Fisheries Science, R | Tagged , , , , , , | Leave a comment

Age-Length Keys in FSA

I have updated the age-length key related functions in FSA and the age-length key vignette.  The details are below.   Let me know if you have questions or suggestions. FSA Changes All code that used ageKey(), ageKeyPrep(), and ageKeyPlot() should … Continue reading

Posted in Administration, Fisheries Science, R | Tagged , , , | Leave a comment

Changes to FSA — Estimating Abundance

I mentioned previously, that I have been updating the Mark-Recapture vignettes.  That has morphed into a document that is an update of the Mark-Recapture Closed and Open vignettes and the depletion/removal vignettes and associated FSA functions.  Some of the changes … Continue reading

Posted in Administration, Fisheries Science, R | Tagged , , , , , , | 4 Comments

Modified lencat() — Increased Flexibility with dplyr

One of the first functions in the FSA package was lencat(), which served me well over the years. However, I have been bothered by the use of a formula and data= to identify a single column to be “transformed” and … Continue reading

Posted in Fisheries Science, R | Tagged , ,

dplyr Example #1

Hadley Wickam released the dplyr package in January 2014. Since then I have been itching to give it a try as it has been suggested to speed up some data manipulations and, more important to me, provide a singular framework … Continue reading

Posted in Fisheries Science, R | Tagged , , | 7 Comments

Visualizing Age-Length Keys — More

I recently posted on the addition of ageKeyPlot() to the FSA package for visualizing age-length keys. Since that post, I have added one more type of plot as illustrated below. This post should be considered as an extension of the … Continue reading

Posted in Fisheries Science, R | Tagged , , , ,

Visualizing Age-Length Keys

Lately, I have been interested in methods related to age-length keys. One aspect of this interest has been in visualizing age-length keys. I had seen various visualizations in publications and wanted to be able to reproduce those relatively efficiently. To … Continue reading

Posted in Fisheries Science, R | Tagged , , , , | 4 Comments

Videos of Simple Fisheries Analyses in R (for Teaching) I

I am teaching my Fisheries Science and Management course at Northland College this semester.  The science portion of the course is a fairly traditional treatment of population dynamic parameter estimation methods (using R with the FSA package, of course).  This semester … Continue reading

Posted in Fisheries Science, R | Tagged , , , | 7 Comments

Age Precision and Bias — Changes to FSA

Last week I taught part of a workshop for the Minnesota Chapter of the American Fisheries Society on “Analyzing Age Data in R” (materials are here). I like doing these workshops because they give me ideas for improving the FSA … Continue reading

Posted in Fisheries Science, R | Tagged , , , ,