figure1a: Code that creates figure 1a

Description Usage Arguments Value Author(s) Examples

Description

Code that creates figure 1a found in Legagneux et al. 2018.

Usage

1
figure1a(time, CC_p, PB_p, colCC = "#594023", colBD = "#9eb844")

Arguments

time

time values.

CC_p

Time series values of the research papers pertaining to climate change.

PB_p

Time series values of the research papers pertaining to biodiversity.

colCC

A specification for the first color associated with climate change data.

colBD

A specification for the second color associated with biodiversity data.

Value

Creates a figure.

Author(s)

Kevin Cazelles & Nicolas Casajus

Examples

1
2
3
4
5
6
7
8
9
# Not run:
# data(sciPapers)
# grDevices::png('inst/fig/ms-figure1a.png', height = 5, width = 7, res = 300, unit = 'in')
#   figure1a(
#     sciPapers$year,
#     sciPapers$records_CC,
#     sciPapers$records_BD
#   )
# grDevices::dev.off()

KevCaz/burningHouse documentation built on June 15, 2019, 9:47 a.m.