m492fs: M49 to FS Codes

Description Usage Arguments Value Examples

Description

This function maps M49 to FS (country) codes using the table defined within the SWS.

Usage

1
m492fs(m49Codes)

Arguments

m49Codes

A character vector containing the M49 codes.

Value

A character vector whose ith element is the FS code corresponding to the passed M49 code in position i. If no valid mapping is found, an NA is returned in this place.

Examples

1
2
3
4
5
## Not run: 
m492fs(c("1", "2", "3", "4"))
m492fs(fs2m49(c("1", "2", "3", "4")))

## End(Not run)

SWS-Methodology/faoswsUtil documentation built on May 9, 2019, 11:53 a.m.