fishery | R Documentation |
fishery generates vectors of year, catch, effort, and cpue This permits a summary of the basic fishery characteristics within a data.frame or matrix. It requires the columns to be labelled.
fishery(
indat,
years = "year",
catch = "catch",
effort = "effort",
cpue = "cpue"
)
indat |
the input data.frame or matrix |
years |
the name of the year factor; defaults to "year" |
catch |
the name of the catch variable; defaults to "catch" |
effort |
the name of effort variable; defaults to "effort" |
cpue |
the name of the cpue variable; defaults to "cpue" |
a matrix with columns Year, Catch, Effort, Bias Corrected geometric mean CPUE, the naive geometric means, the arithemtic mean CPUE, and the number of records
## Not run:
data(sps)
fishery(sps,years="Year",catch="catch_kg",effort="Effort",cpue="CE")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.