View source: R/candidate_functions.r
yearprop | R Documentation |
yearprop summarizes the properties of the year as a factor, which is useful before conducting a cpue standardization. It also outputs a table of the properties of the input data.frame
yearprop(
indat,
rundir,
runname,
year = "year",
catch = "catch",
effort = "hours",
cpue = "cpue"
)
indat |
the data.frame being analysed |
rundir |
the results directory into which all results for the runname are put |
runname |
the name of the particular analysis |
year |
the name of the year factor in the data.frame. default='year' |
catch |
the name of the catch factor in the data.frame. default='catch' |
effort |
the name of the effort factor in the data.frame. default='hours' |
cpue |
the name of the cpue factor in the data.frame. default='cpue' |
invisibly returns a matrix of year, records, catch, hours, and bias-corrected geometric mean cpue. Also adds a table to the rundir and resfile
print("need to wait on an internal data.frame")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.