# \donttest{
rsim_data <- radf(sim_data, lag = 1)
# Critical vales should have the same lag length with \code{radf()}
sb <- radf_sb_cv(sim_data, lag = 1)
tidy(sb)
summary(rsim_data, cv = sb)
autoplot(rsim_data, cv = sb)
# Simulate distribution
sdist <- radf_sb_distr(sim_data, lag = 1, nboot = 1000)
autoplot(sdist)
# }
Run the code above in your browser using DataLab