Blog Archives

2 New (Draft) Chapters for Intro Fish Science with R

November 16, 2014
By
2 New (Draft) Chapters for Intro Fish Science with R

I have added two new drafts of chapters for the Introductory Fisheries Science with R book.  Both chapters are still rough, but feedback would be greatly appreciated. The first chapter is an introduction to basic data manipulations, largely using the … Continue reading →

Read more »

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

October 7, 2014
By
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 →

Read more »

Updated dplyr Examples

September 28, 2014
By
Updated dplyr Examples

Over the summer I made two posts about using the dplyr package.  The first was an example of the dplyr verbs applied to fish data.  The second was an example of modifications that I had made to lencat() to work better … Continue reading →

Read more »

Changes to FSA — Size Structure

September 16, 2014
By
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 →

Read more »

Age-Length Keys in FSA

August 30, 2014
By
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 →

Read more »

Changes to FSA — Estimating Abundance

August 17, 2014
By
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 →

Read more »

“Vignettes” Update

July 14, 2014
By
“Vignettes” Update

As a follow-up to my post about major changes to FSA and that some of the “old” vignettes are now out-of-date, here is a brief summary of new material in the draft book chapters (linked to below) that replaced the … Continue reading →

Read more »

Modified lencat() — Increased Flexibility with dplyr

April 21, 2014
By
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 →

Read more »

dplyr Example #1

April 17, 2014
By
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 →

Read more »

Visualizing Age-Length Keys — More

April 15, 2014
By
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 →

Read more »