View source: R/plotPercentiles.R
plotPercentiles | R Documentation |
Line plots show median (50th percentile) of user selected variable(s) obtained from different scenario runs. If available in the data, ribbon plots will also show the 33th - 67th percentile region in a darker color and the 5th – 95th percentile region in a lighter color. Note: the 5th, 33th, 67th and 95th percentiles must be provided in the data set as the percentiles are not computed
plotPercentiles(df, scenarios = NULL, variables = NULL)
df |
The |
scenarios |
Character vector containing names of the desired scenarios. If |
variables |
Character vector containing names of the desired variables. If |
Tonn Rüter
## Not run:
# Plot atmospheric CO2 concentrations for all scenarios available in the data
p <- plotPercentiles(
data,
# Use variable name without "X-th Percentile"-suffix
variables = c("AR6 climate diagnostics|Atmospheric Concentrations|CO2|MAGICCv7.5.3")
)
# Plot all available variables for selected scenarios
p <- plotPercentiles(data, scenarios = c("d_delfrag", "d_another"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.