add_continents: Add continent to a table

View source: R/tools.R

add_continentsR Documentation

Add continent to a table

Description

Add continent to a table

Usage

add_continents(tbl, data, levels = NULL)

Arguments

tbl

The table for which continents must be added

data

The dataset containing the info on continents

levels

a list of levels if the variable continent must be turned into a factor

Examples

add_continents(data.frame(countryname_eng = c("Turkey", "France")), data_rangers)


courtiol/rangeRinPA documentation built on Sept. 29, 2022, 9:54 a.m.