print_bar: Progress bar

View source: R/simer.Utility.R

print_barR Documentation

Description

Print progress bar.

Usage

print_bar(
  i,
  n,
  type = c("type1", "type3"),
  symbol = "-",
  tmp.file = NULL,
  symbol.head = ">>>",
  symbol.tail = ">",
  fixed.points = TRUE,
  points = seq(0, 100, 1),
  symbol.len = 48,
  verbose = TRUE
)

Arguments

i

the current loop number.

n

the max loop number.

type

type1 for "for" function.

symbol

the symbol for the rate of progress.

tmp.file

the opened file of "fifo" function.

symbol.head

the head for the bar.

symbol.tail

the tail for the bar.

fixed.points

whether use the setted points which will be printed.

points

the setted points which will be printed.

symbol.len

the total length of progress bar.

verbose

whether to print detail.

Details

Build date: Aug 30, 2017 Last update: Apr 30, 2022

Value

none.

Author(s)

Dong Yin, Lilin Yin, Haohao Zhang, and Xiaolei Liu


simer documentation built on April 3, 2025, 9:24 p.m.