Blog Archives

Changes to Von B Growth Modeling in FSA

March 17, 2015
By
Changes to Von B Growth Modeling in FSA

In previous versions of FSA, growthModelSim() was used to produce a scatterplot of length-age data with a von Bertalanffy model superimposed where the parameters of the model were linked to slider bars that allowed the model to be dynamically changed … Continue reading →

Read more »

Mortality & Age Comparisons Chapters

March 13, 2015
By
Mortality & Age Comparisons Chapters

Thanks to some very thoughtful reviews, I have dramatically updated the Mortality and Age Comparisons chapters in the Introduction to Fisheries Analysis with R book. Changes to the Age Comparisons chapter in particular resulted in major changes to the FSA … Continue reading →

Read more »

Weight-Length & Condition Chapters Updated

March 7, 2015
By
Weight-Length & Condition Chapters Updated

Thanks to a couple of great reviews, I have updated the Weight-Length and Condition chapters of the forthcoming Introduction to Fisheries Analysis with R book. The suggestions resulted in some changes to the FSA package so you may want to … Continue reading →

Read more »

Data Wrangling Webinar and IFAR Chapter Update

January 22, 2015
By
Data Wrangling Webinar and IFAR Chapter Update

A week or so ago I participated in the “Data Wrangling” webinar provided by RStudio.  I found Garret Gromelund’s descriptions of the functions in tidyr and dplyr to be fantastic.  A recording of the webinar is available here on the RStudio … Continue reading →

Read more »

Plotting Fundamentals Chapter

December 24, 2014
By
Plotting Fundamentals Chapter

I have uploaded a draft of Chapter 3 — Plotting Fundamentals — for the Introduction to Fisheries Analyses with R (IFAR) book (note the new name).  This chapter is meant to be a quick introduction to plotting in base R for plots … Continue reading →

Read more »

Introduction to R Chapter for IFSWR Book

December 19, 2014
By
Introduction to R Chapter for IFSWR Book

I have uploaded a draft of Chapter 1 — A Very Brief Introduction to R — to Introduction to Fisheries Science with R book.  This chapter is very bare bones as there are many great introductions to R on the … Continue reading →

Read more »

Two New Cumulative Sum Functions

December 8, 2014
By
Two New Cumulative Sum Functions

In this document on RPubs, I describe two functions in FSA for computing cumulative sums.  The first is pcumsum() for computing the cumulative sum NOT including the current value and the second is rcumsum() for computing the “reverse” cumulative sum.Filed … Continue reading →

Read more »

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 »