txtProgressBar2: Text Progress Bar 2

View source: R/txtProgressBar2.R

txtProgressBar2R Documentation

Text Progress Bar 2

Description

Text progress bar in the R console. Modified from utils::txtProgressBar() to include title and timing.

Usage

txtProgressBar2(
  min = 0,
  max = 1,
  initial = 0,
  char = "=",
  width = NA,
  title = ""
)

Arguments

min

Numeric value for minimum of the progress bar.

max

Numeric value for maximum of the progress bar.

initial

Initial value for the progress bar.

char

The character (or character string) to form the progress bar.

width

The width of the progress bar, as a multiple of the width of char. If NA, the default, the number of characters is that which fits into getOption("width").

title

Title for the progress bar.

Details

Use utils::setTxtProgressBar() to set the progress bar and close() to close it.

Value

An object of class "txtProgressBar".


nestedcv documentation built on June 22, 2024, 11:30 a.m.