resFig6: Create and export Figure 6.

Description Usage Arguments Value Examples

View source: R/resFig6.R

Description

Generates Figure 6.

Usage

1
resFig6(x, pBasin = NA)

Arguments

x

Data.frame with results from "resTabDemog.R".

pBasin

Input file with basin polygons.

Value

Exports Figure 6 as .png file.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# Get results from 3 scenarios
load("~/ms/unpublished/2018 Unifilis demography/analises/testl.RData")
library(magrittr)
source("R/PopScen.R")
lscen <- PopScen(dflup)
library(plyr)
source("R/resTabDemog.R")
lsum <- resTabDemog(ldemog = lscen, make_html = FALSE)
dfsum <- lsum$dfsum.bc
B <- system.file("shape/amazon_orinoco.shp", package="cmartr")
resFig5(dfsum, pBasin = B)

## End(Not run)

darrennorris/cmartr documentation built on May 23, 2020, 10:10 p.m.