Description Usage Arguments Value Examples
Assigns for each fish 'sub' (sub-legal), 'leg' (legal), 'ovr' (over-legal) based on fishing regulations and measured fork length or total length (cm). If length is NA, then 'unk' (unknown) is used instead. Special case for Green Sturgeon using 'not' post 2006, when it be came illegal to fish for (and keep) said species.
1 2 3 4 5 6 7 8 |
data |
Dataframe containing (at least) fish length & catch date (year). |
year |
Field name (not quoted) in |
species |
Field name (not quoted) in |
tl |
Field name (not quoted) in |
fl |
Field name (not quoted) in |
regTable |
Dataframe of regulation changes with at least the following fields: "MaxYear"; "Species"; "MinLen"; "MaxLen"; and "LenType". Default is 'su' and gets internal 'RegsSturgeon'. Other choice is 'sb' and will get internal 'RegsStriper'. |
A character vector with length = nrow(data)
& possible values
of 'sub', 'leg', 'ovr', 'unk', or 'not'.
1 | # coming soon
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.