prep_pbar {LDATS} | R Documentation |
Initialize and tick through the progress bar
Description
prep_pbar
creates and update_pbar
steps
through the progress bars (if desired) in TS
Usage
prep_pbar(control = list(), bar_type = "rho", nr = NULL)
update_pbar(pbar, control = list())
Arguments
control |
A |
bar_type |
"rho" (for change point locations) or "eta" (for regressors). |
nr |
|
pbar |
The progress bar object returned from |
Value
prep_pbar
: the initialized progress bar object.
update_pbar
: the ticked-forward pbar
.
Examples
pb <- prep_pbar(control = list(nit = 2)); pb
pb <- update_pbar(pb); pb
pb <- update_pbar(pb); pb
[Package LDATS version 0.3.0 Index]