rforcpue | R Documentation |
The rforcpue package provides numerous functions to assist with the standardization of fisheries CPUE data. There are three types of functions 1) analytical functions that assist with cpue standardizations, 2) plotting functions that can be used to illustrate the results of the standardizations, and 3) utility functions that assist with data manipulations, and other activities that occur when conducting standardizations.
S3 function applied to the output of standLM
conducts a standardization of indat using the inmodel, that can be generated using makeonemodel
Calculates the bias corrected geometric mean
converts a series of variables in a data.frame into factors
Given a list of factors this generates a list of formula for inclusion in glm or standLM
generates a single model for use in dosingle
Rescales a vector of CPUE to a mean of 1.0 or of avCE
Uses lm to standardize log-transformed CPUE
an S3 function to summarize a standardization output
fits a normal distribution curve to a given histogram
plots some diagnostic details for a standardization
Plots the influence of each factor
a replacement for the hist function for use with integers
plots graphs of untransformed and log-transformed data
defines a base graphics window for use in RStudio
Plots the optimum model vs the year-only model
The same as plotstand but for Fishing year species
Generates a bubbleplot of x against Year
adds a new column to input data.frame that is a count of the number of years in which the identified variable, default 'Vessel' occurs each year for each level of the factor
generates vectors of year, catch, effort, and cpue
extracts a given factor from the analysis with its standard errors and rescaled to a mean of 1.0
extracts the main year paramters from a standLM object with its StErr and confidence itervals
Checks a data.frame for NAs and counts; used for QC
removes empty strings from a vector of strings
simplifies the selection of data from a data.frame by depth, years, zones, method, and fishery
copys the selected vector or matrix to the clipboard it can be pasted directly into Excel or other software
counts the NAs in each numeric field in a data.frame
counts the zeros and NAs in identified fields in a df
Maintainer: Malcolm Haddon malcolm.haddon@gmail.com (ORCID)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.