getEnsem_comb | R Documentation |
Combine ensembles together
getEnsem_comb(
...,
list = NULL,
nrow = 1,
legend = TRUE,
x = "",
y = "",
title = "",
output = FALSE
)
... |
different ensembles generated by |
list |
If input is a list containing different ggplot data, use |
nrow |
A number showing the number of rows. |
legend |
A boolean representing whether you want the legend. Sometimes when you combine
plots, there will be a lot of legends, if you don't like it, you can turn it off by setting
|
x |
A string of x axis name. |
y |
A string of y axis name. |
title |
A string of the title. |
output |
A boolean, if chosen TRUE, the output will be given. |
A combined ensemble plot.
H. Wickham. ggplot2: elegant graphics for data analysis. Springer New York, 2009.
Santander Meteorology Group (2015). downscaleR: Climate data manipulation and statistical downscaling. R package version 0.6-0. https://github.com/SantanderMetGroup/downscaleR/wiki
data(testdl)
a <- testdl[[1]]
# Choose example from "1994-2-4" to "1996-1-4"
b1<- getHisEnsem(a, example = c('1995-2-4', '1996-1-4'), plot = 'cum', output = 'ggplot',
name = 1)
b2 <- getHisEnsem(a, example = c('1995-4-4', '1996-3-4'), plot = 'cum', output = 'ggplot',
name = 2)
getEnsem_comb(b1, b2)
getEnsem_comb(list = list(b1, b2), nrow = 2)
# More examples can be found in the user manual on https://yuanchao-xu.github.io/hyfo/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.