# NOT RUN {
#
# Generate a Haar MA process of order 1 (high frequency series)
#
MyHaarMA <- HaarMA(n=151, sd=2, order=1)
#
# Plot it
#
# }
# NOT RUN {
ts.plot(MyHaarMA)
# }
# NOT RUN {
#
# Generate another Haar MA process of order 3 (lower frequency), but of
# smaller variance
#
MyHaarMA2 <- HaarMA(n=151, sd=1, order=3)
#
# Plot it
#
# }
# NOT RUN {
ts.plot(MyHaarMA2)
# }
# NOT RUN {
#
# Let's plot them next to each other so that you can really see the
# differences.
#
# Plot a vertical dotted line which indicates where the processes are
# joined
#
# }
# NOT RUN {
ts.plot(c(MyHaarMA, MyHaarMA2))
# }
# NOT RUN {
abline(v=152, lty=2)
# }
Run the code above in your browser using DataLab