progressMessage: Progress bar

View source: R/nosoi_sanityChecks-Messages.R

progressMessageR Documentation

Progress bar

Description

Echos the state of the simulation at any given time step provided by the user.

Usage

progressMessage(
  Host.count.A,
  Host.count.B = NULL,
  pres.time,
  print.step,
  length.sim,
  max.infected.A,
  max.infected.B = NULL,
  type = "single"
)

Arguments

Host.count.A

number of infected hosts of host A.

Host.count.B

number of infected hosts of host B.

pres.time

current time of the simulation

print.step

if print.progress is TRUE, step with which the progress message will be printed.

length.sim

the length (in unit of time) over which the simulation should be run.

max.infected.A

the maximum number of hosts that can be infected in the simulation for host A.

max.infected.B

the maximum number of hosts that can be infected in the simulation for host B.

type

either single/dual host


nosoi documentation built on May 29, 2024, 9 a.m.