# NOT RUN {
#
# Generate some test data
#
test.data <- example.1()$y
# }
# NOT RUN {
ts.plot(test.data)
# }
# NOT RUN {
#
# Now do the wavelet packet transform of the data using the Daubechies
# least-asymmetric wavelet N=10 (the default arguments in
# wp).
#
tdwp <- wp(test.data)
#
# What happens if we try to draw this new tdwp object?
#
# }
# NOT RUN {
draw(tdwd, level=4, index=12)
# }
Run the code above in your browser using DataLab