tests/testthat/test-plotNA.imputations.R

context("plotNA.imputations")

test_that("Check that plot is running without error",
          {
            expect_that( is.list(plotNA.imputations(tsAirgap,tsAirgapComplete)), is_true())
            expect_that( is.list(plotNA.imputations(tsAirgap,na.mean(tsAirgap), tsAirgapComplete)), is_true())
            
          })

Try the imputeTS package in your browser

Any scripts or data that you put into this service are public.

imputeTS documentation built on June 20, 2018, 5:01 p.m.