Description Usage Arguments Details Value Examples
processLenGrpHeader
returns a length group header translation.
1 2 3 4 5 6 7 8 | processLenGrpHeader(
tblResult,
target = "LenGrp",
prefix = "",
rangeSeparator = "-",
plusAgeChar = "+",
sep = " "
)
|
tblResult |
REDUS STS data table. |
target |
Column name of the length groups category. |
prefix |
Prefix for the headers. |
rangeSeparator |
Range separator character. |
plusAgeChar |
Plus age character. |
sep |
Separator character. |
For example an original length group header of c('5', '10', '15')
is transformed
into c('5'='5-9', '10'='10-15', '15'='15+')
.
On a valid input a character object (list) will be returned.
1 2 3 4 5 | ## Not run:
stsData <- loadSTS("Barents Sea Northeast Arctic cod bottom trawl index in winter")
headerTranslation <- processLenGrpHeader(stsData$data2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.