-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathggtsdiag.Rd
60 lines (48 loc) · 1.25 KB
/
ggtsdiag.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tslib.R
\name{ggtsdiag}
\alias{ggtsdiag}
\title{Plots time-series diagnostics}
\usage{
ggtsdiag(
object,
gof.lag = 10,
conf.int = TRUE,
conf.int.colour = "#0000FF",
conf.int.linetype = "dashed",
conf.int.fill = NULL,
conf.int.alpha = 0.3,
ad.colour = "#888888",
ad.linetype = "dashed",
ad.size = 0.2,
nrow = NULL,
ncol = 1,
...
)
}
\arguments{
\item{object}{A fitted time-series model}
\item{gof.lag}{The maximum number of lags for a Portmanteau goodness-of-fit test}
\item{conf.int}{Logical flag indicating whether to plot confidence intervals}
\item{conf.int.colour}{line colour for confidence intervals}
\item{conf.int.linetype}{line type for confidence intervals}
\item{conf.int.fill}{fill colour for confidence intervals}
\item{conf.int.alpha}{alpha for confidence intervals}
\item{ad.colour}{Line colour for additional lines}
\item{ad.linetype}{Line type for additional lines}
\item{ad.size}{Fill colour for additional lines}
\item{nrow}{Number of facet/subplot rows}
\item{ncol}{Number of facet/subplot columns}
\item{...}{other keywords}
}
\value{
ggplot
}
\description{
Plots time-series diagnostics
}
\examples{
\dontrun{
ggtsdiag(arima(AirPassengers))
}
}