Learn R Programming

SeaVal (version 1.1.1)

add_country: Same as add_country_names

Description

This is a synonyme for add_country_names. Following a more intuitive naming convention, that is more in-line with add_climatology and add_tercile_cat.

Usage

add_country(dt, regions = EA_country_names())

Value

The provided data table with an extra column with country names

Arguments

dt

the data table.

regions

Character vector of country names for which shapefiles are loaded.

Examples

Run this code
dt = add_country(chirps_monthly)

Run the code above in your browser using DataLab