View source: R/candidate_functions.r
addcntcat | R Documentation |
addcntcat adds the count of years of experience, and the total catch across years, for each diver, as recorded in the input catch-effort data.frame. Additions are made to the right-hand side of the input data.frame. The count of years and total catch for each diver will obviously change depending on which block, or collection of blocks, are selected. The value of this is that it facilitates the exploration of the influence of years of experience and total catch on everything else.
addcntcat(
indat,
diver = "diver",
year = "year",
catch = "catch",
count = "count",
totC = "totC"
)
indat |
the docket catch-effort data.frame of interest |
diver |
character string name of the active diver/vessel or whoever/ whatever is fishing each year, default='diver' |
year |
character string name of the year, default='year' |
catch |
character string name of the catch variable in the data.frame |
count |
character string name for the count variable to be added to the data.frame, default='count' |
totC |
character string name for the totalC variable to be added to the data.frame, default='totC' |
the same input data.frame with the addition of two columns
## Not run:
print("waiting on an integral data-set")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.