checkspmdata: checkspmdata ensures the input data contains the necessary...

View source: R/spm.r

checkspmdataR Documentation

checkspmdata ensures the input data contains the necessary columns

Description

checkspmdata ensures the input fishery data contains the year, catch, and cpue columns necessary for a SPM analysis.

Usage

checkspmdata(infish)

Arguments

infish

the data.frame containing columns of data

Value

a 3 x 2 matrix with vaiable and true or false for presence

Examples

## Not run: 
data(fishdat)
fish <- fishdat$fish
checkspmdata(fish)

## End(Not run)

haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.