This function lets the user view a progressbar for a 'for' loop. Taken from https://github.com/STATWORX/helfRlein/blob/master/R/statusbar.R
statusbar(run, max.run, percent.max = 40L, info = run)
Iterator. for loop or an integer with the current loop number
Number. Maximum number of loops
Integer. Indicates how wide the progress bar is printed
String. With additionaly information to be printed
at the end of the line. The default is run
.