Description Usage Arguments Value Author(s) Examples
Code that creates a figure presenting the number of worldwide scientific
papers published in peer-reviewed literature on biodiversity (colBD)
and climate change (colCC) from 1991 to 2016.
1  | 
time | 
 time values.  | 
CC_f | 
 Time series values of the research funding allocated to climate change.  | 
PB_f | 
 Time series values of the research funding allocated 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.  | 
Creates a figure.
Kevin Cazelles & Nicolas Casajus
1 2 3 4 5 6 7 8 9 10  | # Not run:
# data(fundingUSCAN)
# grDevices::png('inst/fig/ms-figure1b.png', height = 5, width = 7, res = 300, unit = 'in')
#   figure1b(
#     fundingUSCAN$year,
#     fundingUSCAN$CC_CA + fundingUSCAN$CC_US,
#     fundingUSCAN$BD_CA + fundingUSCAN$BD_US,
#     colCC = '#b57653', colBD = '#8bcf35'
#   )
# grDevices::dev.off()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.