# NOT RUN {
# Simulate bubble processes
dta <- data.frame(psy1 = sim_psy1(n = 100), psy2 = sim_psy2(n = 100))
# Default minimum window
wb <- wb_cv(dta)
# Change the minimum window and the number of bootstraps
wb <- wb_cv(dta, nboot = 1500, minw = 20)
# Simulate distribution
wb_distr(dta)
# }
Run the code above in your browser using DataLab