name2iso: Convert a country name (resp. a vector of country names) to a...

View source: R/iso.r

name2isoR Documentation

Convert a country name (resp. a vector of country names) to a ISO3 code (resp. a vector of ISO3 codes).

Description

This function loads a file as a matrix. It assumes that the first column contains the rownames and the subsequent columns are the sample identifiers. Any rows with duplicated row names will be dropped with the first one being kepted.

Usage

name2iso(name)

Arguments

infile

A (vector of) character(s) containing country names.

Value

A (vector of) character(s) containing the ISO3 codes.

See Also

Other iso3: countryNameShift(), incorrect.name2iso(), iso2name()


benjaminpeeters/BePe documentation built on July 7, 2022, 5:45 p.m.