Learn R Programming

babsim.hospital (version 11.8.8)

getPeakVec: getPeakVec

Description

Generate peak values.

Usage

getPeakVec(
  peakData = c(10, 100),
  StartDate = "2020-03-03",
  EndDate = "2020-06-24"
)

Arguments

peakData

Vector of time steps and peak heights.

StartDate

Day, simulation starts.

EndDate

Day, simulation ends.

Value

This function returns a vector of peaks data.

Examples

Run this code
# NOT RUN {
getPeakVec()
# }

Run the code above in your browser using DataLab