inst/tinytest/test_yth_filter.R

GDPC1_filter <- yth_filter(GDPC1, h = 8, p = 4)

expect_equivalent(class(GDPC1_filter)[1], "xts", info = "The yth_filter output is of class 'xts'")

Try the neverhpfilter package in your browser

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

neverhpfilter documentation built on June 18, 2021, 5:09 p.m.