plot.bats

0th

Percentile

Plot components from BATS model

Produces a plot of the level, slope and seasonal components from a BATS or TBATS model. The plotted components are Box-Cox transformed using the estimated transformation parameter.

Keywords
hplot
Usage
# S3 method for bats
plot(x, main = "Decomposition by BATS model", ...)

# S3 method for tbats autoplot(object, range.bars = FALSE, ...)

# S3 method for bats autoplot(object, range.bars = FALSE, ...)

# S3 method for tbats plot(x, main = "Decomposition by TBATS model", ...)

Arguments
x

Object of class “bats/tbats”.

main

Main title for plot.

...

Other plotting parameters passed to par.

object

Object of class “bats/tbats”.

range.bars

Logical indicating if each plot should have a bar at its right side representing relative size. If NULL, automatic selection takes place.

Value

None. Function produces a plot

See Also

bats,tbats

Aliases
  • plot.bats
  • autoplot.tbats
  • autoplot.bats
  • plot.tbats
Examples
# NOT RUN {
# }
# NOT RUN {
fit <- tbats(USAccDeaths)
plot(fit)
autoplot(fit, range.bars = TRUE)
# }
# NOT RUN {
# }
Documentation reproduced from package forecast, version 8.9, License: GPL-3

Community examples

Looks like there are no examples yet.