Learn R Programming

hexify (version 0.3.10)

plot_world: Quick world map plot

Description

Simple wrapper to plot the built-in world map.

Usage

plot_world(fill = "gray90", border = "gray50", ...)

Value

NULL invisibly. Creates a plot as side effect.

Arguments

fill

Fill color for countries

border

Border color for countries

...

Additional arguments passed to plot()

See Also

Other visualization: hexify_heatmap()

Examples

Run this code
# Quick world map
plot_world()

# Custom colors
plot_world(fill = "lightblue", border = "darkblue")

Run the code above in your browser using DataLab