Set and update progress bars
set_pb(.max)
add_pb(.pb, .value = 1)
Integer. Maximal value of the progress bar.
Progress bar object from set_pb
.
Numeric. Value to add to the progress bar at each step.
An updated progress bar.
pb <- immunarch:::set_pb(100) immunarch:::add_pb(pb, 25) immunarch:::add_pb(pb, 25) immunarch:::add_pb(pb, 25) immunarch:::add_pb(pb, 25) close(pb)