progressMessage: Progress bar

Description Usage Arguments

View source: R/nosoi_sanityChecks-Messages.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 Aug. 17, 2021, 5:09 p.m.