getDatesOfChronologicalTrial: Get Start and End Dates of Chronological Trials By Index

View source: R/analyzeSim.r

getDatesOfChronologicalTrialR Documentation

Get Start and End Dates of Chronological Trials By Index

Description

Given a vector of indices, this will return the starting and ending months of those trials. So getDatesOfChronologicalTrial(sim, c(3,5)) would return the starting and ending months for the 3rd and 5th trials.

Usage

getDatesOfChronologicalTrial(sim, idxVec)

Arguments

sim

Simulation object

idxVec

Vector of indices to a Chronological simulation

Value

list with startDates and endDates vectors

Examples

## Not run: getDatesOfChronologicalTrial(sim, idxVec)

rexmacey/aasim documentation built on Oct. 29, 2024, 9:30 a.m.