Nothing
### cwt test
test_that("Whether cwt works (no summed_wavelet)", {
time_series <- sin(seq(0, 20 * pi, length.out = 100))
#Example using a numeric vector
transformation <- cwt(t = time_series,
scales = c(1, 2, 3, 4, 5),
summed_wavelet = FALSE)
dim_results <- dim(transformation)
expect_equal("array", class(transformation), info = "Class")
expect_equal(c(1, 100, 5), dim_results, info = "Dim results")
})
test_that("Whether cwt works (summed_wavelet)", {
time_series <- sin(seq(0, 20 * pi, length.out = 100))
#Example using a numeric vector
transformation <- cwt(t = time_series,
scales = c(1, 2, 3, 4, 5),
summed_wavelet = TRUE)
expect_equal("numeric", class(transformation), info = "Class")
expect_equal(100, length(transformation), info = "Length")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.