plot.tsbootgce {GCEstim} | R Documentation |
Plot Diagnostics for a tsbootgce
object
Description
Three plots (selectable by which
) are currently available to
evaluate a tsbootgce
object.
Usage
## S3 method for class 'tsbootgce'
plot(
x,
which = c(1, 2),
group = TRUE,
group.ncol = NULL,
group.nrow = NULL,
ci.levels = c(0.9, 0.95, 0.99),
ci.method = c("hdr", "basic", "percentile"),
seed = object$seed,
lambda = 1,
col = NULL,
plot.lines = TRUE,
legend.position = "bottom",
...
)
Arguments
x |
Fitted |
which |
Integers from 1 to 3. The default is |
group |
Boolean value. If |
group.ncol |
Number of columns (see |
group.nrow |
Number of rows. (see |
ci.levels |
the confidence levels (maximum of 4) required to compute the
confidence interval. The default is |
ci.method |
One of |
seed |
A single value, interpreted as an integer, for reproducibility
or |
lambda |
Box-Cox transformation parameter. Value between 0 and 1. The
default is |
col |
Vector of colors for regions. The default is |
plot.lines |
Boolean. The default is |
legend.position |
The default is |
... |
additional arguments. |
Value
A ggplot
object.
Author(s)
Jorge Cabral, jorgecabral@ua.pt
See Also
Examples
res.tsbootgce <-
tsbootgce(
formula = CO2 ~ 1 + L(GDP, 1) + L(EPC, 1) + L(EU, 1),
data = moz_ts)
plot(res.tsbootgce, which = 2, group = TRUE)