Description Usage Arguments Author(s) Examples
Methods for printing and plotting the results of an
analysis results object returned by CausalImpact()
.
1 2 3 4 5 6 |
object |
A |
x |
A |
... |
Optional additional arguments. For For |
Kay H. Brodersen kbrodersen@google.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
impact <- CausalImpact(...)
# Print a summary table
print(impact)
summary(impact)
# Print a verbal analysis description
print(impact, "report")
summary(impact, "report")
# Create a plot
plot(impact)
plot(impact, "original")
plot(impact, "pointwise")
plot(impact, "cumulative")
plot(impact, c("original", "pointwise"))
# Customize a plot
impact.plot <- plot(impact)
impact.plot <- impact.plot + theme_bw(base_size = 20)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.