allocation | R Documentation |
Snow crab license allocation codes, used to partition landings by fisher groups.
allocation(x, ...)
## Default S3 method:
allocation(x, ...)
## S3 method for class 'numeric'
allocation(x, language = "english", ...)
## S3 method for class 'character'
allocation(x, language = "english", ...)
x |
Code. |
... |
Other arguments (not used). |
language |
Character string specifying language (‘english’ or ‘french’). |
allocation(default)
: return allocation code table.
allocation(numeric)
: Return allocation code description.
allocation(character)
: return allocation code table.
allocation() # Complete allocation code table.
codes <- allocation()$code
allocation(codes[1:5]) # Look up particular codes.
allocation(codes[1:5], language = "fr") # Look up particular codes and return descriptions in french.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.