Description Usage Arguments Details Value Author(s) Examples
Creates GMWM model fits of different models within the same panel.
1 2 3 4 5 6 7 8 9 10 | compare.gmwm(..., background = "white", split = TRUE, CI = TRUE,
auto.label.wvar = F, transparence = 0.1, line.color = NULL,
CI.color = NULL, line.type = NULL, point.size = NULL,
point.shape = NULL, title = "Comparison of Implied Wavelet Variance",
title.size = 15, axis.label.size = 13, axis.tick.size = 11,
axis.x.label = expression(paste("Scale ", tau)),
axis.y.label = expression(paste("Wavelet Variance ", nu)),
facet.label.size = 13, legend.label = NULL, legend.title = "",
legend.key.size = 1.3, legend.title.size = 13, legend.text.size = 13,
nrow = 1, plot.emp.wv = T)
|
... |
Several |
background |
A |
split |
A |
CI |
A |
auto.label.wvar |
A |
transparence |
A |
line.color |
A |
CI.color |
A |
line.type |
A |
point.size |
A |
point.shape |
A |
title |
A |
title.size |
An |
axis.label.size |
An |
axis.tick.size |
An |
axis.x.label |
A |
axis.y.label |
A |
facet.label.size |
An |
legend.label |
A |
legend.title |
A |
legend.key.size |
A |
legend.title.size |
An |
legend.text.size |
An |
nrow |
An |
plot.emp.wv |
A |
If only one object is supplied, this function is actually calling plot.gmwm. When the parameters line.color,
CI.color, line.type, point.size, point.shape and legend.label are modified, please follow the rules of plot.gmwm.
When CI = T, for CI.color, specify the color for each object.
For line.color, line.type, point.size, point.shape,
specify the value of lower bound, upper bound, empirical wavelet variance (WV), implied WV respectively for each object.
When CI = F, you don't need CI.color this time. For line.color, line.type, point.size, point.shape,
only specify the value of empirical WV and implied WV respectively.
Check the examples for help.
A ggplot2 panel containing the graph of gmwm objects.
JJB, Wenchao
1 2 3 4 5 6 7 8 9 10 11 | ## Not run: # AR
set.seed(8836)
n = 200
x = gen.gts(AR1(phi = .1, sigma2 = 1) + AR1(phi = 0.95, sigma2 = .1), n)
GMWM1 = gmwm(AR1(), data = x)
GMWM2 = gmwm(2*AR1(), data = x)
compare.gmwm(GMWM1, GMWM2, split = FALSE)
compare.gmwm(GMWM1, GMWM2, point.size = rep(c(1,1,4,4),2), CI.color = c('black','grey'))
compare.gmwm(GMWM1, GMWM2, CI = F, point.size = rep(c(6,6),2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.