File: set.pb.Rd

package info (click to toggle)
r-cran-tcr 2.3.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 2,316 kB
  • sloc: cpp: 187; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datatools.R
\name{set.pb}
\alias{set.pb}
\alias{add.pb}
\title{Simple functions for manipulating progress bars.}
\usage{
set.pb(.max)

add.pb(.pb, .value = 1)
}
\arguments{
\item{.max}{Length of the progress bar.}

\item{.pb}{Progress bar object.}

\item{.value}{Value to add to the progress bar.}
}
\value{
Progress bar (for set.pb) or length-one numeric vector giving the previous value (for add.pb).
}
\description{
Set the progress bar with the given length (from zero) or add value to the created progress bar.
}