Converts data.frame to ices xml format for standard graphs. The function is a brute force coding and does not have any error checking on the input data.
1 2 3 4 5 | rvk2icesxml(rby, FishStock, AssessmentYear, RecruitmentAge, FAge, rba,
UnitsWeigths = "tonnes", UnitsRecruits = "millions",
TypeLandings = "official", Flim, Fpa, Blim, Bpa, FMSY, MSYBtrigger,
Fmanagement, Bmanagement, RecruitmentLength, Custom1, Custom2, Custom3,
Custom4, Custom5, VersionStock, NameSystemProducedFile)
|
rby |
A data frame containing stock summary data. Column names besides the Year column which is required can be any of the following:
|
FishStock |
A character vector containing stock "name". e.g. "cod-farp", "cod-iceg". |
AssessmentYear |
An integer representing assessment year |
RecruitmentAge |
An integer representing recruitment age |
FAge |
A character vector containg reference fishing moralites, e.g. "F5-10" |
rba |
\codedata.frame containing yield per recruit input. If missing it is ignored. If supplied required column names are:
|
Flim |
A numeric value |
Fpa |
A numeric value |
Blim |
A numeric value |
Bpa |
A numeric value |
FMSY |
A numeric value |
MSYBtrigger |
A numeric value |
Fmanagement |
A numeric value |
Bmanagement |
A numeric value |
RecruitmentLength |
A numeric value |
UnitsWeigths |
A character, expect any one of "Kilograms", "Tonnes", "Thousand tonnes", "Million tonnes" |
UnitsRecruits |
A character, expect any one of "Thousands", "Millions", "Billions" |
TypeLandings |
A character, e.g. "official", "ices estimates". |
Custom1 |
XXX |
Custom2 |
XXX |
Custom3 |
XXX |
Custom4 |
XXX |
Custom5 |
XXX |
VersionStock |
XXX |
NameSystemProducedFile |
XXX |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.