match_region_to_target: Map data region to ggplot2 region

View source: R/plot_world_map.R

match_region_to_targetR Documentation

Map data region to ggplot2 region

Description

This function maps the provided data region to ggplot2 region.

Usage

match_region_to_target(region_column, region_list, max_dist = 3)

Arguments

region_column

a character vector of data region

region_list

a character vector of ggplot2 region

max_dist

maximum distance for string matching


vDiveR documentation built on May 11, 2026, 9:07 a.m.