boundary_map: Create a Boundary Map

View source: R/map.R

boundary_mapR Documentation

Create a Boundary Map

Description

Create a Boundary Map

Usage

boundary_map(
  main_df = nepalmap::boundary_df,
  data = nepalmap::boundary_val,
  label = "",
  color = "white",
  x = "lat",
  y = "long",
  size = 1,
  legend = ""
)

Arguments

main_df

The main data frame for creating the map border of district

data

The data used for value inputs

label

The label for the province

color

The border color

x

The latitude by default

y

The longitude by default

size

Size of label text, 1 by default

legend

Legend is empty by default

Value

a ggplot2 object

Examples

## Not run:  

boundary_map()


## End(Not run)

rugnepal/nepalmap documentation built on March 20, 2023, 10:26 a.m.