whereplot: whereplot

View source: R/whereplot.R

whereplotR Documentation

whereplot

Description

Plots the results of a logical question on a mpa

Usage

whereplot(x)

Arguments

x

A logical statement with a magpie object on country resolution

Value

A map. Green is true, red is false, orange is true and false in the same country, purple is NA, and striped indicates a country that includes some NAs.

Author(s)

Benjamin Leon Bodirsky

Examples

## Not run: 
data(population_magpie)
 test<-population_magpie
 dimnames(test)[[1]]<-c("AFG","DEU","FRA","EGY","IND","IDN","RUS","CHN","USA","YEM")
 whereplot(test>500)
 
## End(Not run)

pik-piam/luplot documentation built on Jan. 29, 2025, 12:30 a.m.